Re: [ckrm-tech] [patch00/05]: Containers(V2)- Introduction

From: Paul Menage
Date: Wed Sep 20 2006 - 15:51:27 EST


On 9/20/06, Christoph Lameter <clameter@xxxxxxx> wrote:
On Wed, 20 Sep 2006, Peter Zijlstra wrote:

> > Which comes naturally with cpusets.
>
> How are shared mappings dealt with, are pages charged to the set that
> first faults them in?

They are charged to the node from which they were allocated. If the
process is restricted to the node (container) then all pages allocated
are are charged to the container regardless if they are shared or not.


Or you could use the per-vma mempolicy support to bind a large data
file to a particular node, and track shared file usage that way.

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