public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Pavel Machek <pavel@suse.cz>
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 20:32:30 +1000	[thread overview]
Message-ID: <1127298751.4386.114.camel@gaston> (raw)
In-Reply-To: <20050921101811.GC25297@atrey.karlin.mff.cuni.cz>

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


> 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 !

> Userland application is currently simple port of kernel swsusp.c into
> userspace, so it should not do anything stupid...
> 
> 							Pavel


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



  reply	other threads:[~2005-09-21 10:32 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 [this message]
2005-09-21 12:45         ` Pavel Machek
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=1127298751.4386.114.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=linux-pm@lists.osdl.org \
    --cc=ncunningham@linuxmail.org \
    --cc=pavel@suse.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