mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Patrick Mochel <mochel@osdl.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [power] Improve suspend functions.
Date: 22 Aug 2003 10:06:17 +0200	[thread overview]
Message-ID: <1061539577.18044.41.camel@gaston> (raw)
In-Reply-To: <200308212310.h7LNATLo005881@hera.kernel.org>

> 	
> 	- Allocate a console and stop processes from common code before entering
> 	  state.

Here we need something... We still want (at least I do) to emulate /dev/apm_bios
suspend/resume userland notification (XFree among others uses them, though the
suspend console switch makes that less necessary, it's still something widely
used by existing userland code).

On pmac, I'm doing that from my "old style" notifiers that I call around
the new style ones (my old semantics are a bit different, I have NOTIFY
and SUSPEND, what I do is NOTIFY old stuff, suspend new stuff, then
SUSPEND old stuff, the APM emulation acts on NOTIFY old stuff and my
old stuff having explicit ordering, userland is suspended almost first,
just after the ADB in fact).

I may need a few more hooks in that generic code, I'll let you know once
I have something implemented using it.

Ben.


           reply	other threads:[~2003-08-22  8:50 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <200308212310.h7LNATLo005881@hera.kernel.org>]

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=1061539577.18044.41.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mochel@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

all inboxes | Powered by JetHome®