[PATCH 3/8] Add container pointer on mm_struct

2007-06-04 Thread Pavel Emelianov
Naturally mm_struct determines the resource consumer in memory accounting. So each mm_struct should have a pointer on container it belongs to. When a new task is created its mm_struct is assigned to the container this task belongs to. include/linux/rss_container.h is added in this patch to make th

Re: [PATCH 3/8] Add container pointer on mm_struct

2007-05-30 Thread Andrew Morton
On Wed, 30 May 2007 19:29:26 +0400 Pavel Emelianov <[EMAIL PROTECTED]> wrote: > Naturally mm_struct determines the resource consumer in memory > accounting. So each mm_struct should have a pointer on container > it belongs to. When a new task is created its mm_struct is > assigned to the container

[PATCH 3/8] Add container pointer on mm_struct

2007-05-30 Thread Pavel Emelianov
Naturally mm_struct determines the resource consumer in memory accounting. So each mm_struct should have a pointer on container it belongs to. When a new task is created its mm_struct is assigned to the container this task belongs to. Signed-off-by: Pavel Emelianov <[EMAIL PROTECTED]> --- diff -

[PATCH 3/8] Add container pointer on mm_struct

2007-04-09 Thread Pavel Emelianov
Naturally mm_struct determines the resource consumer in memory accounting. So each mm_struct should have a pointer on container it belongs to. When a new task is created its mm_struct is assigned to the container this task belongs to. diff -upr linux-2.6.20.orig/include/linux/sched.h linux-2.6.20-