|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Bob Beck (beck
ualberta.ca)
Date: Sun Sep 05 2010 - 20:03:24 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > 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).
>
> As long as by the time we're fiddling with this we're ok for suspending
there is nothing
wrong with this. We have to be certain though.
Failing that being a problem I see nothing fundamentally wrong with this,
but it will
need testing with swapkill, etc. I'd hate for it to introduce a bug which is
only found months later
when someone beats it up to try to work on something else.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]