[RFC PATCH] ARM: smp: Fix the CPU hotplug race with scheduler.

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Jun 20 11:01:41 EDT 2011


On Mon, Jun 20, 2011 at 08:24:33PM +0530, Santosh Shilimkar wrote:
> I am away from my board now. Will test this change.
> btw, the online-active race is still open even with this patch close
> and should be fixed.

I have yet to see any evidence of that race - I've been running your
test loop for about an hour so far on Versatile Express and nothing
yet.

That's not to say that we shouldn't wait for the active mask to become
true before calling schedule(), but I don't think its as big a deal as
you're suggesting it is.



More information about the linux-arm-kernel mailing list