Cc: Peter Zijlstra <a.p.zijlstra@...>, Rafael J. Wysocki <rjw@...>, Steven Rostedt <srostedt@...>, Andrew Morton <akpm@...>, Linus Torvalds <torvalds@...>, LKML <linux-kernel@...>
On 01/02/2008, Dmitry Adamushko <dmitry.adamushko@gmail.com> wrote:
heh... it's pretty obvious indeed. What's msleep_interruptible() is
all about? :-)
"sleep waiting for signals"
so the 'watchdog' thread gets woken up
[ as a result of cpu_callback(action = CPU_DEAD) --> kthread_stop() ]
just to be immediately scheduled out again for as long as the
remaining timeout > 0.
So it should work if we substitute msleep_interruptible() with
schedule_timeout_interruptible().
--
Best regards,
Dmitry Adamushko
--