lkml.org 
[lkml]   [2002]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: VMM - freeing up swap space
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/

\
 
 \ /
  Last update: 2005-03-22 13:26    [from the cache]
©2003-2011 Jasper Spaans