Re[2]: How to disable kswapd?

Mike Kilburn (mike@conexio.co.za)
Sun, 5 Apr 1998 21:23:50 +0200 (SAST)


> > 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!

Thanks for that info. I saw kswapd repeatedly in some weird oops but it
looks like the patch sent (2.0.33) by Andrea Arcangeli on friday has
fixed that.

BTW, do text pages on a ramdisk take up any additional physical memory when
running? Are they cached?

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