[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060902112116.GD1178@elf.ucw.cz>
Date: Sat, 2 Sep 2006 13:21:16 +0200
From: Pavel Machek <pavel@....cz>
To: Jeremy Fitzhardinge <jeremy@...p.org>
Cc: Andrew Morton <akpm@...l.org>,
kernel list <linux-kernel@...r.kernel.org>
Subject: Re: cpu_init is called during resume
On Thu 2006-08-31 16:52:42, Jeremy Fitzhardinge wrote:
> 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.
I think gdt is destroyed on cpu unplug, no? I guess I'll have to redo
my testing...
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
VGER BF report: H 0.410571
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists