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!


Home | Main Index | Thread Index | Old Index