Re: [ckrm-tech] RFC: Memory Controller

From: Andrew Morton
Date: Tue Oct 31 2006 - 04:43:34 EST


On Tue, 31 Oct 2006 14:49:12 +0530
Balbir Singh <balbir@xxxxxxxxxx> wrote:

> The idea behind limiting the page cache is this
>
> 1. Lets say one container fills up the page cache.
> 2. The other containers will not be able to allocate memory (even
> though they are within their limits) without the overhead of having
> to flush the page cache and freeing up occupied cache. The kernel
> will have to pageout() the dirty pages in the page cache.

There's a vast difference between clean pagecache and dirty pagecache in this
context. It is terribly imprecise to use the term "pagecache". And it would be
a poor implementation which failed to distinguish between clean pagecache and
dirty pagecache.

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