lkml.org 
[lkml]   [2008]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kernel/cpu.c: Move the CPU_DYING notifiers
Ingo Molnar wrote:
> * Manfred Spraul <manfred@colorfullife.com> wrote:
>
>> - raw_notifier_call_chain(&cpu_chain, CPU_DYING | param->mod,
>> - param->hcpu);
>> /* Ensure this CPU doesn't handle any more interrupts. */
>> err = __cpu_disable();
>> if (err < 0)
>> return err;
>>
>> + raw_notifier_call_chain(&cpu_chain, CPU_DYING | param->mod,
>> + param->hcpu);
>>
>
> hm, doesnt this break things like CPU cross-calls done in CPU_DYING
> callbacks?
>
We are within stop_machine(). No other cpu is running. As fas as I can
see no cross-calls are possible.

Which scenario do you think about?

--
Manfred


\
 
 \ /
  Last update: 2008-09-06 19:11    [W:0.155 / U:0.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site