diff options
author | Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> | 2007-10-19 02:41:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 14:53:51 -0400 |
commit | 68318b8e0b61f98f0be833cc862ab6dee69348b4 (patch) | |
tree | cb48f82c73ff2204754ff3d5955a0073ca38c383 /init | |
parent | fb391599f2eaf22197e3e914187c957ef7eeb4c5 (diff) |
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>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 0007d1b5e867..541382d539ad 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -334,6 +334,16 @@ config FAIR_USER_SCHED | |||
334 | This option will choose userid as the basis for grouping | 334 | This option will choose userid as the basis for grouping |
335 | tasks, thus providing equal CPU bandwidth to each user. | 335 | tasks, thus providing equal CPU bandwidth to each user. |
336 | 336 | ||
337 | config FAIR_CGROUP_SCHED | ||
338 | bool "Control groups" | ||
339 | depends on CGROUPS | ||
340 | help | ||
341 | This option allows you to create arbitrary task groups | ||
342 | using the "cgroup" pseudo filesystem and control | ||
343 | the cpu bandwidth allocated to each such task group. | ||
344 | Refer to Documentation/cgroups.txt for more information | ||
345 | on "cgroup" pseudo filesystem. | ||
346 | |||
337 | endchoice | 347 | endchoice |
338 | 348 | ||
339 | config SYSFS_DEPRECATED | 349 | config SYSFS_DEPRECATED |