diff options
Diffstat (limited to 'init/Kconfig')
| -rw-r--r-- | init/Kconfig | 41 |
1 files changed, 32 insertions, 9 deletions
diff --git a/init/Kconfig b/init/Kconfig index da071c4bbfb7..3e7b257fc05f 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
| @@ -259,17 +259,14 @@ config IKCONFIG_PROC | |||
| 259 | config LOG_BUF_SHIFT | 259 | config LOG_BUF_SHIFT |
| 260 | int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" | 260 | int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" |
| 261 | range 12 21 | 261 | range 12 21 |
| 262 | default 17 if S390 || LOCKDEP | 262 | default 17 |
| 263 | default 16 if X86_NUMAQ || IA64 | ||
| 264 | default 15 if SMP | ||
| 265 | default 14 | ||
| 266 | help | 263 | help |
| 267 | Select kernel log buffer size as a power of 2. | 264 | Select kernel log buffer size as a power of 2. |
| 268 | Defaults and Examples: | 265 | Examples: |
| 269 | 17 => 128 KB for S/390 | 266 | 17 => 128 KB |
| 270 | 16 => 64 KB for x86 NUMAQ or IA-64 | 267 | 16 => 64 KB |
| 271 | 15 => 32 KB for SMP | 268 | 15 => 32 KB |
| 272 | 14 => 16 KB for uniprocessor | 269 | 14 => 16 KB |
| 273 | 13 => 8 KB | 270 | 13 => 8 KB |
| 274 | 12 => 4 KB | 271 | 12 => 4 KB |
| 275 | 272 | ||
| @@ -284,6 +281,7 @@ config CGROUPS | |||
| 284 | config CGROUP_DEBUG | 281 | config CGROUP_DEBUG |
| 285 | bool "Example debug cgroup subsystem" | 282 | bool "Example debug cgroup subsystem" |
| 286 | depends on CGROUPS | 283 | depends on CGROUPS |
| 284 | default n | ||
| 287 | help | 285 | help |
| 288 | This option enables a simple cgroup subsystem that | 286 | This option enables a simple cgroup subsystem that |
| 289 | exports useful debugging information about the cgroups | 287 | exports useful debugging information about the cgroups |
| @@ -300,6 +298,13 @@ config CGROUP_NS | |||
| 300 | for instance virtual servers and checkpoint/restart | 298 | for instance virtual servers and checkpoint/restart |
| 301 | jobs. | 299 | jobs. |
| 302 | 300 | ||
| 301 | config CGROUP_DEVICE | ||
| 302 | bool "Device controller for cgroups" | ||
| 303 | depends on CGROUPS && EXPERIMENTAL | ||
| 304 | help | ||
| 305 | Provides a cgroup implementing whitelists for devices which | ||
| 306 | a process in the cgroup can mknod or open. | ||
| 307 | |||
| 303 | config CPUSETS | 308 | config CPUSETS |
| 304 | bool "Cpuset support" | 309 | bool "Cpuset support" |
| 305 | depends on SMP && CGROUPS | 310 | depends on SMP && CGROUPS |
| @@ -373,9 +378,13 @@ config RESOURCE_COUNTERS | |||
| 373 | infrastructure that works with cgroups | 378 | infrastructure that works with cgroups |
| 374 | depends on CGROUPS | 379 | depends on CGROUPS |
| 375 | 380 | ||
| 381 | config MM_OWNER | ||
| 382 | bool | ||
| 383 | |||
| 376 | config CGROUP_MEM_RES_CTLR | 384 | config CGROUP_MEM_RES_CTLR |
| 377 | bool "Memory Resource Controller for Control Groups" | 385 | bool "Memory Resource Controller for Control Groups" |
| 378 | depends on CGROUPS && RESOURCE_COUNTERS | 386 | depends on CGROUPS && RESOURCE_COUNTERS |
| 387 | select MM_OWNER | ||
| 379 | help | 388 | help |
| 380 | Provides a memory resource controller that manages both page cache and | 389 | Provides a memory resource controller that manages both page cache and |
| 381 | RSS memory. | 390 | RSS memory. |
| @@ -388,6 +397,9 @@ config CGROUP_MEM_RES_CTLR | |||
| 388 | Only enable when you're ok with these trade offs and really | 397 | Only enable when you're ok with these trade offs and really |
| 389 | sure you need the memory resource controller. | 398 | sure you need the memory resource controller. |
| 390 | 399 | ||
| 400 | This config option also selects MM_OWNER config option, which | ||
| 401 | could in turn add some fork/exit overhead. | ||
| 402 | |||
| 391 | config SYSFS_DEPRECATED | 403 | config SYSFS_DEPRECATED |
| 392 | bool | 404 | bool |
| 393 | 405 | ||
| @@ -538,6 +550,17 @@ config SYSCTL_SYSCALL | |||
| 538 | 550 | ||
| 539 | If unsure say Y here. | 551 | If unsure say Y here. |
| 540 | 552 | ||
| 553 | config SYSCTL_SYSCALL_CHECK | ||
| 554 | bool "Sysctl checks" if EMBEDDED | ||
| 555 | depends on SYSCTL_SYSCALL | ||
| 556 | default y | ||
| 557 | ---help--- | ||
| 558 | sys_sysctl uses binary paths that have been found challenging | ||
| 559 | to properly maintain and use. This enables checks that help | ||
| 560 | you to keep things correct. | ||
| 561 | |||
| 562 | If unsure say Y here. | ||
| 563 | |||
| 541 | config KALLSYMS | 564 | config KALLSYMS |
| 542 | bool "Load all symbols for debugging/ksymoops" if EMBEDDED | 565 | bool "Load all symbols for debugging/ksymoops" if EMBEDDED |
| 543 | default y | 566 | default y |
