lkml.org 
[lkml]   [2013]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 6/6] x86: Allow disabling HW_BREAKPOINTS and PERF_EVENTS

* Frederic Weisbecker <fweisbec@gmail.com> wrote:

> On Tue, Oct 08, 2013 at 10:05:21PM +0200, Peter Zijlstra wrote:
> > On Tue, Oct 08, 2013 at 09:55:59PM +0200, Frederic Weisbecker wrote:
> > > 1) make breakpoints independant from perf. The drawback is that we must then
> > > add seperate hooks on context switch for ptrace breakpoints. OTOH we get
> > > rid of the perf -> breakpoint -> perf circular dependency, which is the very
> > > controversial thing.
> >
> > we used to have this in __switch_to_xtra(), right?
>
> Right.
>
> And then it got replaced by perf events scheduling.

Which we have anyway - so this moved complexity out the contex switch
path, for the common case where no hardware-breakpoints are used.

Thanks,

Ingo


\
 
 \ /
  Last update: 2013-10-09 08:21    [W:0.064 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site