Re: VMM - freeing up swap space

Tom Vier (tmv@comcast.net)
Tue, 18 Jun 2002 21:27:52 -0400


On Tue, Jun 18, 2002 at 07:17:00PM +0100, Hugh Dickins wrote:
> In what forum, by the way, may I suggest to distros that they "rm -rf"
> in any tmpfs mounts before shutdown swapoff? It avoids this OOM issue
> at shutdown, plus it's a whole lot faster than doing the swapoff.

actually, debian testing's /etc/init.d/umountfs umounts tmpfs before
swapoff. tmpfs contents are freed on umount, so there's no need for rm -rf
(it would be slower, anyway).

-- 
Tom Vier <tmv@comcast.net>
DSA Key ID 0xE6CB97DA
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/