lkml.org 
[lkml]   [2008]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 0/5] ftrace: to kill a daemon
Date
On Saturday 09 August 2008 04:41:06 Steven Rostedt wrote:
> On Fri, 8 Aug 2008, Mathieu Desnoyers wrote:
> > kstop_machine does not guarantee that you won't have _any_ thread
> > preempted with IP pointing exactly in the middle of your instructions
> > _before_ the modification scheduled back in _after_ the modification and
> > thus causing an illegal instruction.
> >
> > Still buggy. :/
>
> Hmm, good point. Unless...

You can walk the task list and fix them up, if you have to. Of course, this
could be extremely slow with a million threads. Maybe just walking the
runqueues would be sufficient?

Rusty.


\
 
 \ /
  Last update: 2008-08-11 05:37    [from the cache]
©2003-2011 Jasper Spaans