Memory controller: accounting setup
Basic setup routines, the mm_struct has a pointer to the cgroup that it belongs to and the the page has a page_cgroup associated with it. Signed-off-by:Pavel Emelianov <xemul@openvz.org> Signed-off-by:
Balbir Singh <balbir@linux.vnet.ibm.com> Cc: Paul Menage <menage@google.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Cc: Kirill Korotaev <dev@sw.ru> Cc: Herbert Poetzl <herbert@13thfloor.at> Cc: David Rientjes <rientjes@google.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- include/linux/memcontrol.h 36 additions, 0 deletionsinclude/linux/memcontrol.h
- include/linux/mm_types.h 6 additions, 0 deletionsinclude/linux/mm_types.h
- include/linux/sched.h 1 addition, 0 deletionsinclude/linux/sched.h
- kernel/fork.c 8 additions, 3 deletionskernel/fork.c
- mm/memcontrol.c 53 additions, 4 deletionsmm/memcontrol.c
Loading
Please register or sign in to comment