Re: [RFC][-mm PATCH 3/8] Memory controller accounting setup (v3)

2007-07-20 Thread Paul Menage
On 7/20/07, Balbir Singh <[EMAIL PROTECTED]> wrote: + mem = mem_container_from_cont(task_container(p, + mem_container_subsys_id)); + css_get(&mem->css); The container framework won't try to free a subsystem's root container state, so this isn't

Re: [RFC][-mm PATCH 3/8] Memory controller accounting setup (v3)

2007-07-20 Thread Paul Menage
On 7/20/07, Paul Menage <[EMAIL PROTECTED]> wrote: On 7/20/07, Balbir Singh <[EMAIL PROTECTED]> wrote: > + mem = mem_container_from_cont(task_container(p, > + mem_container_subsys_id)); > + css_get(&mem->css); The container framework won't try to

[RFC][-mm PATCH 3/8] Memory controller accounting setup (v3)

2007-07-20 Thread Balbir Singh
From: Pavel Emelianov <[EMAIL PROTECTED]> Basic setup routines, the mm_struct has a pointer to the container that it belongs to and the the page has a meta_page associated with it. Signed-off-by: Pavel Emelianov <[EMAIL PROTECTED]> Signed-off-by: <[EMAIL PROTECTED]> --- include/linux/memcontr