tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: unconfiguring swap at shutdown

   On Tue, Sep 02, 2008 at 11:12:41AM +0200, Manuel Bouyer wrote:
   > One quite common case is mfs/tmpfs. You can't umount them before turning
   > off swap because they may be /dev, and swapoff needs /dev to be mounted.
   > Turning off swap before unmonting them means bringing back their pages
   > into ram; with the risk they don't fit in ram ...
   This certainly should not be the case for turning off swap in-kernel after
   all user processes have exited!

see "should".  this sort of feature change should happen so
close to branch point.  perhaps we can play with doing this
automatically after branching, but not before.

i'd still support moving the current swapoff code into the
kernel, but remaining disabled by default.


Home | Main Index | Thread Index | Old Index