diff options
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/init/Kconfig b/init/Kconfig index 9d8cf2d2f840..09c79537ae09 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -531,7 +531,7 @@ config CGROUP_DEVICE | |||
531 | 531 | ||
532 | config CPUSETS | 532 | config CPUSETS |
533 | bool "Cpuset support" | 533 | bool "Cpuset support" |
534 | depends on SMP && CGROUPS | 534 | depends on CGROUPS |
535 | help | 535 | help |
536 | This option will let you create and manage CPUSETs which | 536 | This option will let you create and manage CPUSETs which |
537 | allow dynamically partitioning a system into sets of CPUs and | 537 | allow dynamically partitioning a system into sets of CPUs and |
@@ -565,7 +565,7 @@ config CGROUP_MEM_RES_CTLR | |||
565 | select MM_OWNER | 565 | select MM_OWNER |
566 | help | 566 | help |
567 | Provides a memory resource controller that manages both anonymous | 567 | Provides a memory resource controller that manages both anonymous |
568 | memory and page cache. (See Documentation/controllers/memory.txt) | 568 | memory and page cache. (See Documentation/cgroups/memory.txt) |
569 | 569 | ||
570 | Note that setting this option increases fixed memory overhead | 570 | Note that setting this option increases fixed memory overhead |
571 | associated with each page of memory in the system. By this, | 571 | associated with each page of memory in the system. By this, |
@@ -597,6 +597,8 @@ config CGROUP_MEM_RES_CTLR_SWAP | |||
597 | is disabled by boot option, this will be automatically disabled and | 597 | is disabled by boot option, this will be automatically disabled and |
598 | there will be no overhead from this. Even when you set this config=y, | 598 | there will be no overhead from this. Even when you set this config=y, |
599 | if boot option "noswapaccount" is set, swap will not be accounted. | 599 | if boot option "noswapaccount" is set, swap will not be accounted. |
600 | Now, memory usage of swap_cgroup is 2 bytes per entry. If swap page | ||
601 | size is 4096bytes, 512k per 1Gbytes of swap. | ||
600 | 602 | ||
601 | endif # CGROUPS | 603 | endif # CGROUPS |
602 | 604 | ||
@@ -687,7 +689,7 @@ config PID_NS | |||
687 | depends on NAMESPACES && EXPERIMENTAL | 689 | depends on NAMESPACES && EXPERIMENTAL |
688 | help | 690 | help |
689 | Support process id namespaces. This allows having multiple | 691 | Support process id namespaces. This allows having multiple |
690 | process with the same pid as long as they are in different | 692 | processes with the same pid as long as they are in different |
691 | pid namespaces. This is a building block of containers. | 693 | pid namespaces. This is a building block of containers. |
692 | 694 | ||
693 | Unless you want to work with an experimental feature | 695 | Unless you want to work with an experimental feature |
@@ -952,7 +954,7 @@ config COMPAT_BRK | |||
952 | Randomizing heap placement makes heap exploits harder, but it | 954 | Randomizing heap placement makes heap exploits harder, but it |
953 | also breaks ancient binaries (including anything libc5 based). | 955 | also breaks ancient binaries (including anything libc5 based). |
954 | This option changes the bootup default to heap randomization | 956 | This option changes the bootup default to heap randomization |
955 | disabled, and can be overriden runtime by setting | 957 | disabled, and can be overridden at runtime by setting |
956 | /proc/sys/kernel/randomize_va_space to 2. | 958 | /proc/sys/kernel/randomize_va_space to 2. |
957 | 959 | ||
958 | On non-ancient distros (post-2000 ones) N is usually a safe choice. | 960 | On non-ancient distros (post-2000 ones) N is usually a safe choice. |
@@ -1012,6 +1014,18 @@ config MARKERS | |||
1012 | 1014 | ||
1013 | source "arch/Kconfig" | 1015 | source "arch/Kconfig" |
1014 | 1016 | ||
1017 | config SLOW_WORK | ||
1018 | default n | ||
1019 | bool "Enable slow work thread pool" | ||
1020 | help | ||
1021 | The slow work thread pool provides a number of dynamically allocated | ||
1022 | threads that can be used by the kernel to perform operations that | ||
1023 | take a relatively long time. | ||
1024 | |||
1025 | An example of this would be CacheFiles doing a path lookup followed | ||
1026 | by a series of mkdirs and a create call, all of which have to touch | ||
1027 | disk. | ||
1028 | |||
1015 | endmenu # General setup | 1029 | endmenu # General setup |
1016 | 1030 | ||
1017 | config HAVE_GENERIC_DMA_COHERENT | 1031 | config HAVE_GENERIC_DMA_COHERENT |
@@ -1110,7 +1124,7 @@ config INIT_ALL_POSSIBLE | |||
1110 | cpu_possible_map, some of them chose to initialize cpu_possible_map | 1124 | cpu_possible_map, some of them chose to initialize cpu_possible_map |
1111 | with all 1s, and others with all 0s. When they were centralised, | 1125 | with all 1s, and others with all 0s. When they were centralised, |
1112 | it was better to provide this option than to break all the archs | 1126 | it was better to provide this option than to break all the archs |
1113 | and have several arch maintainers persuing me down dark alleys. | 1127 | and have several arch maintainers pursuing me down dark alleys. |
1114 | 1128 | ||
1115 | config STOP_MACHINE | 1129 | config STOP_MACHINE |
1116 | bool | 1130 | bool |