Date: Wed, 01 Jun 2005 15:22:44 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: Don Lewis <truckman@freebsd.org>, current@freebsd.org Subject: Re: [RFC] [PATCH] VM & VFS changes Message-ID: <20050601152244.cgb5pjihw4w4ssgg@netchild.homeip.net> In-Reply-To: <41216.1117630645@critter.freebsd.dk> References: <41216.1117630645@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp <phk@phk.freebsd.dk> wrote: > Maybe the simplest solution is also the best: keep track of the > dependencies and do the cleanup leaf->root on the resulting tree. How many userland processes have to be running and consuming memory which isn't available as physical RAM at this point in the shutdown sequence? Wouldn't a loop like the following be enough? while swap umount unbusy-FS swap-off swap This assumes that swap-off doesn't turns off the swap if it isn't able to put everything back into other swap or physical RAM areas. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 The electrician didn't know what the yellow cable was so he yanked the ethernet out.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050601152244.cgb5pjihw4w4ssgg>