Re: [RPC][PATCH 2.6.20-rc5] limit total vfs page cache
From: Christoph Lameter
Date: Mon Jan 22 2007 - 14:17:27 EST
On Sat, 20 Jan 2007, Nick Piggin wrote:
> > It doesn't reduce the amount of memory available to the system. It
> > just reduce the amount of memory available to the page cache. So that
> > page cache is limited and the reserved memory can be allocated by the
> > application.
>
> But the patch doesn't do that, as I explained.
The patch could do it if he would be checking NR_FILE_PAGES against
a limit instead of the free pages.
-
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/