Re: cpu_init is called during resume

From: Jeremy Fitzhardinge
Date: Thu Aug 31 2006 - 19:50:02 EST


Pavel Machek wrote:
We are doing virtual cpu hotplug/unplug... actually suspend to RAM
*and* disk. Just try it :-).

Yes, I know, but if you're replugging a CPU it should already have a GDT allocated, so the kmalloc() won't be called in the resume case. So if there's a problem, it can only be on the resume-from-disk path, on the assumption that that secondary CPU hasn't already been brought up.

J
-
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/