Re: [RFC] [PATCH] VM & VFS changes

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Wed, 01 Jun 2005 15:22:44 +0200
Poul-Henning Kamp <phk_at_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 _at_ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild _at_ FreeBSD.org  : PGP ID = 72077137
The electrician didn't know what the yellow cable was so he yanked the
ethernet out.
Received on Wed Jun 01 2005 - 11:22:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:35 UTC