Re: How to disable kswapd?

Stephen C. Tweedie (sct@dcs.ed.ac.uk)
Sun, 5 Apr 1998 19:41:17 +0100


Hi,

On Tue, 31 Mar 1998 20:41:56 +0200 (SAST), Mike Kilburn <mike@conexio.co.za> said:

> How does one disable kswapd? Is it safe to just comment out the
> starting of the kernel thread in vmscan.c? This is for a system with
> no swap and everthing run from a ramdisk. Kernel 2.0.34pre4.

No, it is not safe. kswapd is also responsible for doing things like
aging cache pages, discarding unused mapped text pages and pruning the
buffer cache. You really do still need it!

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu