Re: [PATCH] smpboot.c: move setup_vector_irq after set_cpu_online

From: Xiao, Jin
Date: Thu Jul 02 2015 - 22:02:56 EST


Hi tglx,

On 7/2/2015 8:50 PM, Thomas Gleixner wrote:

The whole vector stuff is racy versus cpu hotplug and Jins patch
merily addresses a small part of it and by doing that it breaks stuff
as well.

With that patch we move the vector setup after marking the cpu online,
which is wrong because the vector array on that cpu is not up to date
until we call __setup_vector_irq(). Proper patch below.

We still have an issue in the cpu_disable() patch, but I haven't yet
wrapped my head around it completely.

Thanks,

tglx


Your patch is better. Thanks.

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