RE: [PATCH] Fix the race between smp_call_function and CPU booting

From: Peter Zijlstra
Date: Wed Mar 14 2012 - 05:43:37 EST


On Wed, 2012-03-14 at 06:27 +0000, Liu, Chuansheng wrote:
> On the unplug case, after set the CPU to !active, we do not need IPI
> handling for the corresponding
> CPU before it is set to offline. I did not find any impact that
> limiting the smp_call_function
> just after CPU is active.

Have a look at Alpha, it's flush_tlb_mm() can use smp_call_function(),
in the !active,online case you very much still need to tlb flush that
cpu.

The fact that it works on a limited use case on x86 doesn't say anything
much at all.
--
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/