diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 65 |
1 files changed, 32 insertions, 33 deletions
diff --git a/init/Kconfig b/init/Kconfig index 989f58b03958..3be35f3a001b 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -415,26 +415,26 @@ config CGROUP_SCHED | |||
415 | This option allows you to create arbitrary task groups | 415 | This option allows you to create arbitrary task groups |
416 | using the "cgroup" pseudo filesystem and control | 416 | using the "cgroup" pseudo filesystem and control |
417 | the cpu bandwidth allocated to each such task group. | 417 | the cpu bandwidth allocated to each such task group. |
418 | Refer to Documentation/cgroups.txt for more information | 418 | Refer to Documentation/cgroups/cgroups.txt for more |
419 | on "cgroup" pseudo filesystem. | 419 | information on "cgroup" pseudo filesystem. |
420 | 420 | ||
421 | endchoice | 421 | endchoice |
422 | 422 | ||
423 | menu "Control Group support" | 423 | menuconfig CGROUPS |
424 | config CGROUPS | 424 | boolean "Control Group support" |
425 | bool "Control Group support" | ||
426 | help | 425 | help |
427 | This option add support for grouping sets of processes together, for | 426 | This option adds support for grouping sets of processes together, for |
428 | use with process control subsystems such as Cpusets, CFS, memory | 427 | use with process control subsystems such as Cpusets, CFS, memory |
429 | controls or device isolation. | 428 | controls or device isolation. |
430 | See | 429 | See |
431 | - Documentation/cpusets.txt (Cpusets) | ||
432 | - Documentation/scheduler/sched-design-CFS.txt (CFS) | 430 | - Documentation/scheduler/sched-design-CFS.txt (CFS) |
433 | - Documentation/cgroups/ (features for grouping, isolation) | 431 | - Documentation/cgroups/ (features for grouping, isolation |
434 | - Documentation/controllers/ (features for resource control) | 432 | and resource control) |
435 | 433 | ||
436 | Say N if unsure. | 434 | Say N if unsure. |
437 | 435 | ||
436 | if CGROUPS | ||
437 | |||
438 | config CGROUP_DEBUG | 438 | config CGROUP_DEBUG |
439 | bool "Example debug cgroup subsystem" | 439 | bool "Example debug cgroup subsystem" |
440 | depends on CGROUPS | 440 | depends on CGROUPS |
@@ -442,24 +442,24 @@ config CGROUP_DEBUG | |||
442 | help | 442 | help |
443 | This option enables a simple cgroup subsystem that | 443 | This option enables a simple cgroup subsystem that |
444 | exports useful debugging information about the cgroups | 444 | exports useful debugging information about the cgroups |
445 | framework | 445 | framework. |
446 | 446 | ||
447 | Say N if unsure | 447 | Say N if unsure. |
448 | 448 | ||
449 | config CGROUP_NS | 449 | config CGROUP_NS |
450 | bool "Namespace cgroup subsystem" | 450 | bool "Namespace cgroup subsystem" |
451 | depends on CGROUPS | 451 | depends on CGROUPS |
452 | help | 452 | help |
453 | Provides a simple namespace cgroup subsystem to | 453 | Provides a simple namespace cgroup subsystem to |
454 | provide hierarchical naming of sets of namespaces, | 454 | provide hierarchical naming of sets of namespaces, |
455 | for instance virtual servers and checkpoint/restart | 455 | for instance virtual servers and checkpoint/restart |
456 | jobs. | 456 | jobs. |
457 | 457 | ||
458 | config CGROUP_FREEZER | 458 | config CGROUP_FREEZER |
459 | bool "control group freezer subsystem" | 459 | bool "Freezer cgroup subsystem" |
460 | depends on CGROUPS | 460 | depends on CGROUPS |
461 | help | 461 | help |
462 | Provides a way to freeze and unfreeze all tasks in a | 462 | Provides a way to freeze and unfreeze all tasks in a |
463 | cgroup. | 463 | cgroup. |
464 | 464 | ||
465 | config CGROUP_DEVICE | 465 | config CGROUP_DEVICE |
@@ -480,18 +480,23 @@ config CPUSETS | |||
480 | 480 | ||
481 | Say N if unsure. | 481 | Say N if unsure. |
482 | 482 | ||
483 | config PROC_PID_CPUSET | ||
484 | bool "Include legacy /proc/<pid>/cpuset file" | ||
485 | depends on CPUSETS | ||
486 | default y | ||
487 | |||
483 | config CGROUP_CPUACCT | 488 | config CGROUP_CPUACCT |
484 | bool "Simple CPU accounting cgroup subsystem" | 489 | bool "Simple CPU accounting cgroup subsystem" |
485 | depends on CGROUPS | 490 | depends on CGROUPS |
486 | help | 491 | help |
487 | Provides a simple Resource Controller for monitoring the | 492 | Provides a simple Resource Controller for monitoring the |
488 | total CPU consumed by the tasks in a cgroup | 493 | total CPU consumed by the tasks in a cgroup. |
489 | 494 | ||
490 | config RESOURCE_COUNTERS | 495 | config RESOURCE_COUNTERS |
491 | bool "Resource counters" | 496 | bool "Resource counters" |
492 | help | 497 | help |
493 | This option enables controller independent resource accounting | 498 | This option enables controller independent resource accounting |
494 | infrastructure that works with cgroups | 499 | infrastructure that works with cgroups. |
495 | depends on CGROUPS | 500 | depends on CGROUPS |
496 | 501 | ||
497 | config CGROUP_MEM_RES_CTLR | 502 | config CGROUP_MEM_RES_CTLR |
@@ -517,9 +522,6 @@ config CGROUP_MEM_RES_CTLR | |||
517 | This config option also selects MM_OWNER config option, which | 522 | This config option also selects MM_OWNER config option, which |
518 | could in turn add some fork/exit overhead. | 523 | could in turn add some fork/exit overhead. |
519 | 524 | ||
520 | config MM_OWNER | ||
521 | bool | ||
522 | |||
523 | config CGROUP_MEM_RES_CTLR_SWAP | 525 | config CGROUP_MEM_RES_CTLR_SWAP |
524 | bool "Memory Resource Controller Swap Extension(EXPERIMENTAL)" | 526 | bool "Memory Resource Controller Swap Extension(EXPERIMENTAL)" |
525 | depends on CGROUP_MEM_RES_CTLR && SWAP && EXPERIMENTAL | 527 | depends on CGROUP_MEM_RES_CTLR && SWAP && EXPERIMENTAL |
@@ -536,8 +538,10 @@ config CGROUP_MEM_RES_CTLR_SWAP | |||
536 | there will be no overhead from this. Even when you set this config=y, | 538 | there will be no overhead from this. Even when you set this config=y, |
537 | if boot option "noswapaccount" is set, swap will not be accounted. | 539 | if boot option "noswapaccount" is set, swap will not be accounted. |
538 | 540 | ||
541 | endif # CGROUPS | ||
539 | 542 | ||
540 | endmenu | 543 | config MM_OWNER |
544 | bool | ||
541 | 545 | ||
542 | config SYSFS_DEPRECATED | 546 | config SYSFS_DEPRECATED |
543 | bool | 547 | bool |
@@ -575,11 +579,6 @@ config SYSFS_DEPRECATED_V2 | |||
575 | if the original kernel, that came with your distribution, has | 579 | if the original kernel, that came with your distribution, has |
576 | this option set to N. | 580 | this option set to N. |
577 | 581 | ||
578 | config PROC_PID_CPUSET | ||
579 | bool "Include legacy /proc/<pid>/cpuset file" | ||
580 | depends on CPUSETS | ||
581 | default y | ||
582 | |||
583 | config RELAY | 582 | config RELAY |
584 | bool "Kernel->user space relay support (formerly relayfs)" | 583 | bool "Kernel->user space relay support (formerly relayfs)" |
585 | help | 584 | help |