Re: [RFC][PATCH 15/26] sched, numa: Implement hotplug hooks

From: Peter Zijlstra
Date: Mon Mar 19 2012 - 08:20:30 EST


On Mon, 2012-03-19 at 17:46 +0530, Srivatsa S. Bhat wrote:
> > + get_online_cpus();
> > + cpu_notifier(numa_hotplug, 0);
>
>
> ABBA deadlock!
>
Yeah, I know.. luckily it can't actually happen since early_initcalls
are pre-smp. I could just leave out the get_online_cpus() thing.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/