lkml.org 
[lkml]   [2011]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 4/9] ftrace: Add enable/disable ftrace_ops control interface
From
Date
On Mon, 2011-11-28 at 21:02 +0100, Peter Zijlstra wrote:
> On Mon, 2011-11-28 at 14:26 -0500, Steven Rostedt wrote:
> >
> > Are jump labels safe in NMI context yet? If not, this will need to wait
> > till we make it so.
>
> I don't think they are, we currently very much rely on that
> stop_machine() crap. NMIs can go straight through that.
>
> I think you can make it work with the stop_machine()-less approach,
> because then the NMI will trap on the INT3 which will wait for
> completion, sync and resume the NMI.

Note that this of course precludes ever using jump_labels from do_int3
handlers ;-)


\
 
 \ /
  Last update: 2011-11-28 21:09    [W:0.501 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site