From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Shawn Starr <shawn.starr@rogers.com>
Cc: linux-kernel@vger.kernel.org, Pavel Machek <pavel@ucw.cz>
Subject: Re: [2.6.12-rc2][suspend] resume occuring twice before suspend to suspend-to-disk
Date: Mon, 11 Apr 2005 22:57:44 +0200 [thread overview]
Message-ID: <200504112257.44628.rjw@sisk.pl> (raw)
In-Reply-To: <20050411193108.56141.qmail@web88012.mail.re2.yahoo.com>
Hi,
On Monday, 11 of April 2005 21:31, Shawn Starr wrote:
> I've noticed that when I do a suspend to disk. The
> machine suspends PCI devices once (I notice this
> because the ipw2200 wireless card shows its
> suspending, then it locks/parks the HD heads, but then
> all PCI devices are woken up and resume. The HD spins
> up and then dumps memory contents to swap partition,
> then it suspends all devices again? :)
>
> Is this the right behaviour?
It is like that by design. The devices are suspened before we create the
system image (so that they do not get in the way) and we should wake
up some of them afterwards so that we can write the image to the swap
partition. Currently, we wake up all devices, which is not very efficient,
but it is simple enough to allow us to hunt bugs more easily. Finally, the
system is just powered off.
Greets,
Rafael
--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
prev parent reply other threads:[~2005-04-11 20:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-11 19:31 Shawn Starr
2005-04-11 20:57 ` Rafael J. Wysocki [this message]
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=200504112257.44628.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=shawn.starr@rogers.com \
/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
all inboxes | Powered by JetHome®