Re: [PATCH] BC: resource beancounters (v2)

From: Kirill Korotaev
Date: Mon Aug 28 2006 - 04:23:07 EST


Andi Kleen wrote:
D) Virtual scan of mm's in the over-limit container

E) Modify existing physical scanner to be able to skip pages which
belong to not-over-limit containers.


The same applies to dentries/inodes too, doesn't it? But their
scan is already virtual so their LRUs could be just split into
a per container list (but then didn't Christoph L. plan to rewrite that code anyways?)
how do you propose to handle shared files in this case?

For memory my guess would be that (E) would be easier than (D) for user/file
memory though less efficient.

Kirill

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