Re: [PATCH 0/4] arch/CPU hotplug: Add missing CPU Hotplug bits tofix nasty issues

From: Peter Zijlstra
Date: Thu Mar 22 2012 - 08:33:48 EST


On Thu, 2012-03-22 at 13:13 +0100, Peter Zijlstra wrote:
>
> Furthermore, I was pondering the scenario where a 3rd cpu IPIs the newly
> booting cpu, I suspect we need a smp_wmb() after setting cpu_active and
> a rmb in select_fallback_rq() before reading active.

Hmm, not IPI, that would be covered by the disabling of interrupts on
bringup, but somehow manage to wake a thread that's strictly affine that
the fresh cpu, like queue_work_on() or so.


--
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/