Messages in this thread | | | Date | Mon, 23 Nov 1998 16:46:16 -0700 | From | Nomad the Wanderer <> | Subject | Re: APM "SuspendToDisk" implementation problem |
| |
Any way of getting an example of either of these so I can play with it?
Robert
Thus spake Pavel Machek (pavel@bug.ucw.cz):
> Hi! > > > 1. You can instead put the stuff in apmd - so when it sees a resume the > > APM daemon configures your disk back > > > > 2. You wake a thread (or let an existing thread) do it. The thread can > > sleep even though the irq cannot. > > > > Making apmd handle it seems "right" since it keeps it in user space > > Making apmd do it should be easy - new versions of apmd should allow > you to run arbitrary commands after events. > > Only problem with "going userspace" is: what happens if apmd is > swapped out? Then you need to read disk in order to swap it in. But > you can not read disk, because it is missconfigured, now... > > Looks like it is not the way to go. :-( > > Pavel > -- > I'm really pavel@atrey.karlin.mff.cuni.cz. Pavel > Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-). > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.rutgers.edu > Please read the FAQ at http://www.tux.org/lkml/
--------------------------------------------------------------------------- Robert L. Harris | Windows -- Senior System Administrator II | Proof Micro$oft has at Great West Life. \_ a room full of monkeys.
http://www.orci.com/~nomad
DISCLAIMER: These are MY OPINIONS ALONE. I speak for no-one else.
FYI: perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |