public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Linux-pm mailing list <linux-pm@lists.osdl.org>,
	Nigel Cunningham <ncunningham@linuxmail.org>
Subject: Re: swsusp3: system suspend/resume from userspace
Date: Wed, 21 Sep 2005 14:45:23 +0200	[thread overview]
Message-ID: <20050921124523.GB2013@elf.ucw.cz> (raw)
In-Reply-To: <1127298751.4386.114.camel@gaston>

[-- Attachment #1: Type: text/plain, Size: 1040 bytes --]

Hi!

> > I still do my "userspace freezing", except that it does not freeze the
> > process doing that. (Thats no change from previous design,
> > BTW). System snapshot works single CPU and with interrupts disabled;
> > so it indeed should be atomic. That should mean there are no
> > interesting races, as long as userspace app is not doing anything
> > stupid.
> 
> Which include things like taking page faults etc... are you mlock'ing it
> all ? I really don't see the point though. It's not like we actually
> need a 3rd version of swsusp, and there are plenty of other more
> important things to work on !

Yes, I'm mlocking it.

We do have suspend2, and we do want its features, but we also do not
want to merge it all into kernel. (10 000 LOC). Plus suspend2 already
has its own userland helper for asking user questions.

swsusp3 is likely easier way to go than transforming suspend2 into
something mergeable. [Ouch and BTW it works now :-)]
								Pavel
-- 
if you have sharp zaurus hardware you don't need... you know my address

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2005-09-21 12:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-01 18:49 swsusp3: system suspend/resume from userspace Brown, Len
2005-09-01 20:17 ` Pavel Machek
2005-09-01 21:13   ` Nigel Cunningham
2005-09-20 23:41   ` Benjamin Herrenschmidt
2005-09-21 10:18     ` Pavel Machek
2005-09-21 10:32       ` Benjamin Herrenschmidt
2005-09-21 12:45         ` Pavel Machek [this message]
2005-09-21 12:53           ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2005-09-01 11:05 Pavel Machek
2005-09-01 11:55 ` Nigel Cunningham
2005-09-01 15:11   ` 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=20050921124523.GB2013@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=benh@kernel.crashing.org \
    --cc=linux-pm@lists.osdl.org \
    --cc=ncunningham@linuxmail.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