lkml.org 
[lkml]   [2008]   [Sep]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 7 Sep 2008 13:07:29 +0200
FromAndi Kleen <>
SubjectRe: [RFC, PATCH] Add a CPU_STARTING notifier (was: Re: [PATCH, RFC] v4 scalable classic RCU implementation)
> What about introducing a CPU_STARTING notifier call, similar to CPU_DYING:
> - called with disabled interrupts> - called before interrupts are enabled> - must not sleep> - called on the new cpu.> > This might also be useful for something like kvm. I'm not sure if it's 
> guaranteed that hardware_enable() runs early enough.
I would find that useful too. I had several cases where i had 
to add smp_call_function_single() with a second callback to the CPU_UP 
notifier, which always seemed ugly.

-Andi
-- 
ak@linux.intel.com


\
 
 \ /
  Last update: 2008-09-07 13:07    [from the cache]
©2003-2008