From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Pavel Machek <pavel@ucw.cz>
Cc: Linux-pm mailing list <linux-pm@lists.osdl.org>
Subject: chainsawing disk.c, need discussion
Date: Fri, 03 Jun 2005 14:28:19 +1000 [thread overview]
Message-ID: <1117772899.31082.126.camel@gaston> (raw)
[-- Attachment #1: Type: text/plain, Size: 985 bytes --]
Hi Pavel !
I'm in the middle of killing the pile of junk that is
kernel/power/disk.c but I think we need to discuss some of this on irc,
as email has a too much latency here.
It's just a big nonsense that we duplicate so much code between
kernel/power/main.c and don't have consistency in the callbacks. The
whole in_suspend trick is also disgusting (but may need some low level
fixes to be removed) and I think not calling the arch callbacks when
they exist when the "mode" is reboot or shutdown simply makes no sense.
So please, let me know when you can be around, I'd really want to clean
that up, I don't plan to touch the guts of swsusp itself (except maybe
for removing that in_suspend thing by having swsusp_suspend() return 1
for the "in suspend" case and 0 for the "resumed" case, which may
require some arch small fixes, but that's pretty much all), I really
only want to fix & consolidate main.c and disk.c which are needlessly
inconsitent at the moment.
Cheers,
Ben.
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next reply other threads:[~2005-06-03 4:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-03 4:28 Benjamin Herrenschmidt [this message]
2005-06-03 9:46 ` chainsawing disk.c, need discussion Pavel Machek
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=1117772899.31082.126.camel@gaston \
--to=benh@kernel.crashing.org \
--cc=linux-pm@lists.osdl.org \
--cc=pavel@ucw.cz \
/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