Nothing, that's (one of the reasons) why cpu hotplug is not
implemented on x86.
[ Disclosure: I tried to rewrite the x86 boot code to actually bring
CPUs up one at a time, rather than the minimal wedge seen in this
patch, and failed. Me no x86-pert, and the boot code is hairy. ]
I'm still considering a big reader lock around the actual bringing up
of CPUs, pending me completing my audit of what code actually needs
this (surprisingly, very little generic code actually cares how many
CPUs we have, so it's mainly a few corner cases). This would be
cheap, and allow code that cared to lock out cpu changes.
Thoughts?
Rusty.
-- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/