lkml.org 
[lkml]   [2011]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/6] x86: Allow the user not to build hw_breakpoints
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


\
 
 \ /
  Last update: 2011-04-27 21:13    [from the cache]
©2003-2011 Jasper Spaans