Re: Suspend 2 merge: 24/51: Keyboard and serial console hooks.

From: Yaroslav Rastrigin
Date: Wed Nov 24 2004 - 13:58:18 EST


Hi, Christoph,
On 24 November 2004 16:29, Christoph Hellwig wrote:
> On Wed, Nov 24, 2004 at 11:59:02PM +1100, Nigel Cunningham wrote:
> > Here we add simple hooks so that the user can interact with suspend
> > while it is running. (Hmm. The serial console condition could be
> > simplified :>). The hooks allow you to do such things as:
> >
> > - cancel suspending
> > - change the amount of detail of debugging info shown
> > - change what debugging info is shown
> > - pause the process
> > - single step
> > - toggle rebooting instead of powering down
>
> And why would we want this? If the users calls the suspend call
> he surely wants to suspend, right?
Probably, wrong. Suspend running server remotely, to resolve hotswap issues,
f.e., and reboot to already prepared environment, without bothering
techsupport in the middle of the night.
>
> After all we don't have inkernel hooks to allow a user to read instead
> write after calling sys_write.
Wrong analogy here, sorry.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

--
Managing your Territory since the dawn of times ...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/