From: Pavel Machek <pavel@ucw.cz>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Andrew Morton <akpm@osdl.org>,
kernel list <linux-kernel@vger.kernel.org>
Subject: Re: cpu_init is called during resume
Date: Sat, 2 Sep 2006 13:21:16 +0200 [thread overview]
Message-ID: <20060902112116.GD1178@elf.ucw.cz> (raw)
In-Reply-To: <44F7764A.7060707@goop.org>
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
next prev parent reply other threads:[~2006-09-02 11:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-31 13:55 cpu_init is called during resume Pavel Machek
2006-08-31 16:11 ` Jeremy Fitzhardinge
2006-08-31 22:31 ` Pavel Machek
2006-08-31 23:52 ` Jeremy Fitzhardinge
2006-09-02 11:21 ` Pavel Machek [this message]
2006-09-03 0:00 ` Jeremy Fitzhardinge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060902112116.GD1178@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=akpm@osdl.org \
--cc=jeremy@goop.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox