[RFC] [PATCH] VM & VFS changes

Alexander Leidinger Alexander at Leidinger.net
Wed Jun 1 13:22:58 GMT 2005


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 @ 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.




More information about the freebsd-current mailing list