Messages in this thread | | | Date | Sun, 2 Oct 2011 17:40:51 -0700 | From | Tejun Heo <> | Subject | Re: [BUGFIX][PATCH] Freezer, CPU hotplug, x86 Microcode: Fix task freezing failures |
| |
Hello,
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?
Thanks.
-- tejun
| |