Re: VMM - freeing up swap space

From: Tom Vier (tmv@comcast.net)
Date: Tue Jun 18 2002 - 20:27:52 EST


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/



This archive was generated by hypermail 2b29 : Sun Jun 23 2002 - 22:00:18 EST