Re: [PATCH 3/6] x86: Allow the user not to build hw_breakpoints

From: Michael Bohan
Date: Wed Apr 27 2011 - 15:10:58 EST


On 4/27/2011 11:26 AM, Frederic Weisbecker wrote:
On Wed, Apr 27, 2011 at 10:38:50AM -0700, H. Peter Anvin wrote:

How big of a win, if any, is this, really?

That's pretty significant, because if you can disable breakpoints,
then you can disable perf. Together they make quite a chunk.

Another advantage is the ability to disable these features for kernel bringup on new targets and kernel versions. Recently in v2.6.38 hw_breakpoints were broken in ARM. A change like this would have saved me a hack to the Kconfig at the least.

Mike

--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/