[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 05:17:55AM -0400, Thor Lancelot Simon wrote:
> 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!
It sill can be, if there are some file left in tmpfs. These files won't
dissapear because no more process are running.
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
Main Index |
Thread Index |