[Devel] [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

[Devel] [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