Hook up group scheduler with control groups
authorSrivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
Fri, 19 Oct 2007 06:41:03 +0000 (23:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:51 +0000 (11:53 -0700)
commit68318b8e0b61f98f0be833cc862ab6dee69348b4
treecb48f82c73ff2204754ff3d5955a0073ca38c383
parentfb391599f2eaf22197e3e914187c957ef7eeb4c5
Hook up group scheduler with control groups

Enable "cgroup" (formerly containers) based fair group scheduling.  This
will let administrator create arbitrary groups of tasks (using "cgroup"
pseudo filesystem) and control their cpu bandwidth usage.

[akpm@linux-foundation.org: fix cpp condition]
Signed-off-by: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Cc: Paul Menage <menage@google.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/cgroup_subsys.h
init/Kconfig
kernel/sched.c