Re: cache limit

From: Ihar 'Philips' Filipau
Date: Thu Aug 21 2003 - 12:13:52 EST


Takao Indoh wrote:

I made a patch to add new paramter /proc/sys/vm/pgcache-max. It controls
maximum number of pages used as pagecache.
An attached file is a mere test patch, so it may contain a bug or ugly
code. Please let me know if there is an advice, comment, better
implementation, and so on.


Do you have something like this for 2.4 kernels?

[ I expected to find that by default Linux stops polluting memory with cache when there is no more pages. But as I see your patch is hacking something somewhere in the middle... But I'm not a specialist in VM... Gone reading sources. ]

Thanks for the patch.

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