lkml.org 
[lkml]   [2010]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [tip:sched/core] cpu: Remove incorrect BUG_ON
From
Date
On Tue, 2010-11-23 at 16:08 +0100, Oleg Nesterov wrote:
> > Ah,. uhm,. you mean, not do anything at all?
> >
> > Dunno, really, let me try and read the code there.
>
> Thanks. This is very minor of course, but it would be nice to
> undestand the reason. To me it looks unneeded, but I don't trust
> myself. (snippets from my previous email below).
>
>
I think because the call to __cpu_die (-> native_cpu_die) relies on the
remote cpu running the idle thread, and the CPU_DEAD notifier callback
wants to run with the guarantee the remote cpu is in fact dead as a
doornail.


\
 
 \ /
  Last update: 2010-11-23 18:19    [W:0.032 / U:0.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site