From: Pavel Machek <pavel@ucw.cz>
To: Tejun Heo <tj@kernel.org>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
Alan Stern <stern@rowland.harvard.edu>,
Linus Torvalds <torvalds@linux-foundation.org>,
Kernel development list <linux-kernel@vger.kernel.org>,
linux-ide@vger.kernel.org,
Linux-pm mailing list <linux-pm@vger.kernel.org>
Subject: Re: No freezing of kernel threads (was: Re: [GIT PULL] libata fixes for v3.13-rc5)
Date: Sat, 11 Jan 2014 22:15:21 +0100 [thread overview]
Message-ID: <20140111211521.GA12064@amd.pavel.ucw.cz> (raw)
In-Reply-To: <20131226160517.GB16483@htj.dyndns.org>
Hi!
> > Well, it looks like we don't really know why things are done the way they
> > are done at least in some cases, so in my personal view it would be good to
> > go through all of the kernel freezer users just for this reason alone. We
> > can't really say which of them are legitimate without that and how difficult
> > it would be for them to switch over to using something more fine grained than
> > the freezer.
>
> I'm a bit worried about things which may not be explicit.
> ie. something which is broken but sorta working because things like
> writeback and jbd are frozen. I think I worry about that because I
> remember one argument for kernel freezer from way way back, that it's
> too hard to implement proper suspend/resume for all drivers and by
> freezing most kthreads things should mostly work, which sounded pretty
> crazy to me even back then. Hopefully, we don't have much left
> depending on such magic.
Careful there. Hibernation depends on data on disk not changing after
freeze.
So you definitely do _not_ want writeback/jbd running while uswsusp
does its image writing.
(I wonder what happens if uswsusp needs to trigger writeback to free
memory. But I'm too scared to check :-).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
prev parent reply other threads:[~2014-01-11 21:15 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-24 14:21 [GIT PULL] libata fixes for v3.13-rc5 Tejun Heo
2013-12-24 21:55 ` Alan Stern
2013-12-25 14:45 ` Rafael J. Wysocki
2013-12-25 14:57 ` Alan Stern
2013-12-25 22:12 ` Rafael J. Wysocki
2013-12-26 3:29 ` No freezing of kernel threads (was: Re: [GIT PULL] libata fixes for v3.13-rc5) Alan Stern
2013-12-26 4:18 ` Tejun Heo
2013-12-26 15:05 ` Rafael J. Wysocki
2013-12-26 16:05 ` Tejun Heo
2013-12-26 18:42 ` Alan Stern
2013-12-26 19:01 ` Tejun Heo
2013-12-26 23:23 ` Rafael J. Wysocki
2013-12-27 2:14 ` Alan Stern
2013-12-27 2:21 ` Tejun Heo
2013-12-26 23:49 ` Rafael J. Wysocki
2014-01-11 21:15 ` Pavel Machek [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=20140111211521.GA12064@amd.pavel.ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=stern@rowland.harvard.edu \
--cc=tj@kernel.org \
--cc=torvalds@linux-foundation.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
all inboxes | Powered by JetHome®