Re: Flushing the swap

From: Horst von Brand
Date: Tue Jun 08 2004 - 07:29:44 EST


Hal Nine <hal9@xxxxxxxxxxxxxx> said:
> Is there any way of making linux flush out all pages out of swap
> space? I want to have 0K of used swap space.

What for? If they don't fit into RAM (likely, as swap is essentially "RAM
overflow"), you are toast anyway.

You might try swapoff(8)...
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/