[RFC] libcg: design and plans

Paul Menage menage at google.com
Wed Mar 5 02:41:41 PST 2008


On Wed, Mar 5, 2008 at 2:33 AM, Dhaval Giani <dhaval at linux.vnet.ibm.com> wrote:
>
>  So there are two different points, /mem and /cpu. /mem has A and C and
>  /cpu has A, B and C. A and B of /cpu correspond to A of /mem and the C's
>  are the same. With this is mind, if I say a task should move to B in
>  /cpu, it should also move to A in /mem?
>

Maybe clearer to say that /mem has two cgroups, AB and C. The
abstraction provided by libcg would be of three groups, A, B and C.
Asking libcg to move a process to abstract group B would result it
moving to /mem/AB and /cpu/B

Paul


More information about the Containers mailing list