* Re: [power] Improve suspend functions.
[not found] <200308212310.h7LNATLo005881@hera.kernel.org>
@ 2003-08-22 8:06 ` Benjamin Herrenschmidt
0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 2003-08-22 8:06 UTC (permalink / raw)
To: Patrick Mochel; +Cc: Linux Kernel Mailing List
>
> - 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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-08-22 8:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200308212310.h7LNATLo005881@hera.kernel.org>
2003-08-22 8:06 ` [power] Improve suspend functions Benjamin Herrenschmidt
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®