Messages in this thread |  | | | Date | Sun, 7 Sep 2008 13:07:29 +0200 | | From | Andi Kleen <> | | Subject | Re: [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
|  |