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

Paul Menage menage at google.com
Wed Sep 20 12:51:00 PDT 2006


On 9/20/06, Christoph Lameter <clameter at sgi.com> 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




More information about the Devel mailing list