public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw•cz>
To: Benjamin Herrenschmidt <benh@kernel•crashing.org>
Cc: Michael Schmitz <schmitz@opal•biophys.uni-duesseldorf.de>,
	Michael Schmitz <schmitz@zirkon•biophys.uni-duesseldorf.de>,
	Hugang <hugang@soulinfo•com>,
	Patrick Mochel <mochel@digitalimplant•org>,
	Nigel Cunningham <ncunningham@users•sourceforge.net>,
	ncunningham@clear•net.nz,
	linuxppc-dev list <linuxppc-dev@lists•linuxppc.org>
Subject: Re: pmdisk working on ppc (WAS: Help port swsusp to ppc)
Date: Thu, 29 Jan 2004 00:35:09 +0100	[thread overview]
Message-ID: <20040128233509.GA336@elf.ucw.cz> (raw)
In-Reply-To: <1075326924.5658.299.camel@gaston>


Hi!

> > > > Battery requests might have been underway; pmud is running. If I read
> > > > pmu_suspend() right, pending battery requests should result in pmu_suspend
> > > > waiting for them to finish?
> > >
> > > Normally yes... pmud isn't running at this point (all processes are frozen)
> >
> > OK. I put a mdelay(100) between the PMU_SYSTEM_READY request and the
> > pmu_suspend() call in pmu_sys_resume and it seems to work so far. Side
> > note: if you are saving a large system and have multiple swap files, play
> > with swap priorities to make sure the pages are swapped out to the file
> > _not_ used for suspend.
>
> Ah ? What's up ? suspend trashes the swap ? That's very bad...

No, it does not.

But swap space is shared between suspend and swap. And if that place
is full (unlikely), you've got a problem.
								Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2004-01-28 23:35 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1075154452.6191.91.camel@gaston>
2004-01-27 10:34 ` pmdisk working on ppc (WAS: Help port swsusp to ppc) Michael Schmitz
2004-01-27 10:37   ` Benjamin Herrenschmidt
2004-01-27 14:32     ` Michael Schmitz
2004-01-27 21:40       ` Benjamin Herrenschmidt
2004-01-28 16:09         ` Michael Schmitz
2004-01-28 17:02           ` Hugang
2004-01-28 17:03             ` Colin Leroy
2004-01-29  9:17               ` Michael Schmitz
2004-01-28 18:00             ` Michael Schmitz
2004-01-28 21:56             ` Benjamin Herrenschmidt
2004-01-28 21:55           ` Benjamin Herrenschmidt
2004-01-29  9:30             ` Michael Schmitz
2004-01-29 12:10               ` Benjamin Herrenschmidt
2004-01-28 21:55           ` Benjamin Herrenschmidt
2004-01-28 23:35             ` Pavel Machek [this message]
2004-01-29  8:11             ` Michael Schmitz
2004-01-27 10:47   ` Pavel Machek
2004-01-27 10:56     ` Benjamin Herrenschmidt

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=20040128233509.GA336@elf.ucw.cz \
    --to=pavel@ucw$(echo .)cz \
    --cc=benh@kernel$(echo .)crashing.org \
    --cc=hugang@soulinfo$(echo .)com \
    --cc=linuxppc-dev@lists$(echo .)linuxppc.org \
    --cc=mochel@digitalimplant$(echo .)org \
    --cc=ncunningham@clear$(echo .)net.nz \
    --cc=ncunningham@users$(echo .)sourceforge.net \
    --cc=schmitz@opal$(echo .)biophys.uni-duesseldorf.de \
    --cc=schmitz@zirkon$(echo .)biophys.uni-duesseldorf.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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