From: Jeff Garzik <jgarzik@pobox.com>
To: Witold Krecicki <adasi@kernel.pl>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Suspend not working with SATA:
Date: Mon, 15 Dec 2003 10:18:08 -0500 [thread overview]
Message-ID: <3FDDD0B0.60807@pobox.com> (raw)
In-Reply-To: <200312151600.53372.adasi@kernel.pl>
Witold Krecicki wrote:
> Stopping tasks:
> ==================================================================
> stopping tasks failed (2 tasks remaining)
> Restarting tasks...<6> Strange, katad-1 not stopped
> Strange, katad-2 not stopped
> done
Both Pavel Machek and I posted test patches to address this...
basically, because of the design of swsusp, you must copy-n-paste the
following code into every single kernel thread:
if (current->flags & PF_FREEZE)
refrigerator(PF_IOTHREAD);
But I consider suspend untested at best... for reboot and suspend the
driver should issue flush-cache and other things beyond simply freezing
the kernel thread. Further, suspending will suck if the kernel thread
itself is the one doing I/O on behalf of the driver. This occurs if the
transfer mode is PIO rather than DMA.
Jeff
next prev parent reply other threads:[~2003-12-15 15:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-15 15:00 Suspend not working with SATA: Witold Krecicki
2003-12-15 15:18 ` Jeff Garzik [this message]
2003-12-15 18:22 ` Nigel Cunningham
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=3FDDD0B0.60807@pobox.com \
--to=jgarzik@pobox.com \
--cc=adasi@kernel.pl \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.