On Wed, Feb 17, 2016 at 07:31:43PM +0300, Andrey Ryabinin wrote:
On 02/17/2016 05:39 PM, Mark Rutland wrote:
quoted
Andrey, on a tangential note, what do we do around hotplug? I assume
that we must unpooison the shadow region for the stack of a dead CPU,
but I wasn't able to figure out where we do that. Hopefuly we're not
just getting lucky?
We do nothing about it. AFAIU we need to clear swapper's stack,
somewhere in secondary_start_kernel() perhaps.
Oh, joy...
Surely other architectures (e.g. x86) will need to do something similar?
Do they do anything currently? I can't see that they do...
Mark.