On Sun, Sep 05, 2010 at 09:43:30AM -0600, Bob Beck wrote:
> > Like owain said, things will get quiesced anyway. And why wouldn't want
> > to quiesce swap i/o when suspending the machine.
> >
>
>
> You may not want to queisce swap if you are depending on it to get you pages
> so you can finish suspending.
>
> Basically by saying you will prevent swap is that you will make a situation
> where you ask for a page of memory and don't get it because you are
> suspending.
Nothing the kernel needs to touch is swappable. by this point the
suspend process only needs kernel stuff, userland has done running (but
it still schedulnig until we disable interrupts). We don't swap device
softcs etc, for obvious reasons.
Ok, so there is one kernel thing that is swappable: pipe buffers, but
they are not dependant for suspend (see above).
-0-
--
Spouse, n.:
Someone who'll stand by you through all the trouble you
wouldn't have had if you'd stayed single.