public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Pavel Machek <pavel@suse.cz>
Cc: Pavel Machek <pavel@ucw.cz>, Linus Torvalds <torvalds@osdl.org>,
	kernel list <linux-kernel@vger.kernel.org>,
	Patrick Mochel <mochel@osdl.org>
Subject: Re: pm: Revert swsusp to 2.6.0-test3
Date: Mon, 29 Sep 2003 23:59:46 +0200	[thread overview]
Message-ID: <20030929215946.GG1815@elf.ucw.cz> (raw)
In-Reply-To: <20030929213446.GF1815@elf.ucw.cz>

Hi!

> > > > I'd also like to have some kind of readme or similar on the different 
> > > > suspend/resume issues, and why we have two different
> > > > approaches. Hmm?
> > 
> > <azbestos underwear on>What about this one?</off>
> 
> Thanks to Tomas Szepe, grammar fixed a bit.

Okay, third version, thanks to Samurai.

--- clean/Documentation/power/swsusp.txt	2003-08-27 12:00:01.000000000 +0200
+++ linux/Documentation/power/swsusp.txt	2003-09-29 23:59:01.000000000 +0200
@@ -17,6 +17,24 @@
 You need to append resume=/dev/your_swap_partition to kernel command
 line. Then you suspend by echo 4 > /proc/acpi/sleep.
 
+Pavel's unreliable guide to swsusp mess
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
+
+There are currently two versions of swap suspend in the kernel, the old
+"Pavel's" version in kernel/power/swsusp.c and the new "Patrick's"
+version in kernel/power/pmdisk.c. They provide the same functionality;
+the old version looks ugly but was tested, while the new version looks
+nicer but did not receive so much testing. echo 4 > /proc/acpi/sleep
+calls the old version, echo disk > /sys/power/state calls the new one.
+
+[In the future, when the new version is stable enough, two things can
+happen:
+
+* the new version is moved into swsusp.c, and swsusp is renamed to swap
+  suspend (Pavel prefers this)
+
+* pmdisk is kept as is and swsusp.c is removed from the kernel]
+
 [Notice. Rest docs is pretty outdated (see date!) It should be safe to
 use swsusp on ext3/reiserfs these days.]
 

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

  reply	other threads:[~2003-09-29 22:02 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-28 12:05 pm: Revert swsusp to 2.6.0-test3 pavel
2003-09-28 17:40 ` Linus Torvalds
2003-09-28 17:58   ` Pavel Machek
2003-09-28 20:24     ` Pavel Machek
2003-09-29 16:13     ` Patrick Mochel
2003-09-29 19:24       ` Pavel Machek
2003-09-29 20:46     ` Pavel Machek
2003-09-29 21:34       ` Pavel Machek
2003-09-29 21:59         ` Pavel Machek [this message]
2003-09-30  0:43       ` Andreas Jellinghaus
2003-09-30  0:48         ` Patrick Mochel
2003-09-30  1:16           ` Mark W. Alexander
2003-09-28 18:48   ` Nigel Cunningham
2003-09-28 19:06     ` Pavel Machek
2003-09-29 16:51     ` Patrick Mochel
2003-09-29 18:49       ` 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=20030929215946.GG1815@elf.ucw.cz \
    --to=pavel@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mochel@osdl.org \
    --cc=pavel@ucw.cz \
    --cc=torvalds@osdl.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