forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. [[email protected]: fix cpp condition] Signed-off-by: Srivatsa Vaddagiri <[email protected]> Signed-off-by: Dhaval Giani <[email protected]> Cc: Randy Dunlap <[email protected]> Cc: Balbir Singh <[email protected]> Cc: Paul Menage <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information
Srivatsa Vaddagiri
authored and
Linus Torvalds
committed
Oct 19, 2007
1 parent
fb39159
commit 68318b8
Showing
3 changed files
with
137 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,9 @@ SUBSYS(ns) | |
#endif | ||
|
||
/* */ | ||
|
||
#ifdef CONFIG_FAIR_CGROUP_SCHED | ||
SUBSYS(cpu_cgroup) | ||
#endif | ||
|
||
/* */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters