Re: [BUGFIX][PATCH] Freezer, CPU hotplug, x86 Microcode: Fix taskfreezing failures
From: Tejun Heo
Date: Sun Oct 02 2011 - 20:41:14 EST
On Mon, Oct 03, 2011 at 01:34:36AM +0530, Srivatsa S. Bhat wrote:
> So when a CPU goes offline and comes back online, I don't see why the kernel
> should not reuse the microcode that it already has. Anyhow the microcode will
> not change. The same microcode would be requested from userspace again if the
> kernel has freed its copy.
Can't one take a cpu offline, hot unplug it from the board and put in
a new one and then bring it online? That's usually what "hot
[un]plug" stands for. I don't think one would be able to put in a
very different processor but maybe, say, revision difference is
allowed and microcode should be looked up again? Assuming that the
same microcode can always be applied after the actual CPU is swapped
could be dangerous. Again, I'm not sure about how this is supposed to
be managed so I could be wrong.
If I'm not wrong, can't we add synchronization between cpu hotplug and
freezer so that they don't happen in parallel?
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/