diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 8 | ||||
-rw-r--r-- | init/main.c | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index a29a688c47d3..51b3d14f44f1 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -270,6 +270,14 @@ config LOG_BUF_SHIFT | |||
270 | 13 => 8 KB | 270 | 13 => 8 KB |
271 | 12 => 4 KB | 271 | 12 => 4 KB |
272 | 272 | ||
273 | config CGROUPS | ||
274 | bool "Control Group support" | ||
275 | help | ||
276 | This option will let you use process cgroup subsystems | ||
277 | such as Cpusets | ||
278 | |||
279 | Say N if unsure. | ||
280 | |||
273 | config CPUSETS | 281 | config CPUSETS |
274 | bool "Cpuset support" | 282 | bool "Cpuset support" |
275 | depends on SMP | 283 | depends on SMP |
diff --git a/init/main.c b/init/main.c index 9def935ab13a..0dd0e7a1f632 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #include <linux/writeback.h> | 39 | #include <linux/writeback.h> |
40 | #include <linux/cpu.h> | 40 | #include <linux/cpu.h> |
41 | #include <linux/cpuset.h> | 41 | #include <linux/cpuset.h> |
42 | #include <linux/cgroup.h> | ||
42 | #include <linux/efi.h> | 43 | #include <linux/efi.h> |
43 | #include <linux/tick.h> | 44 | #include <linux/tick.h> |
44 | #include <linux/interrupt.h> | 45 | #include <linux/interrupt.h> |
@@ -523,6 +524,7 @@ asmlinkage void __init start_kernel(void) | |||
523 | */ | 524 | */ |
524 | unwind_init(); | 525 | unwind_init(); |
525 | lockdep_init(); | 526 | lockdep_init(); |
527 | cgroup_init_early(); | ||
526 | 528 | ||
527 | local_irq_disable(); | 529 | local_irq_disable(); |
528 | early_boot_irqs_off(); | 530 | early_boot_irqs_off(); |
@@ -640,6 +642,7 @@ asmlinkage void __init start_kernel(void) | |||
640 | #ifdef CONFIG_PROC_FS | 642 | #ifdef CONFIG_PROC_FS |
641 | proc_root_init(); | 643 | proc_root_init(); |
642 | #endif | 644 | #endif |
645 | cgroup_init(); | ||
643 | cpuset_init(); | 646 | cpuset_init(); |
644 | taskstats_init_early(); | 647 | taskstats_init_early(); |
645 | delayacct_init(); | 648 | delayacct_init(); |