diff options
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/init/Kconfig b/init/Kconfig index a724a149bf3f..56fd93c63c77 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -328,11 +328,10 @@ config CGROUP_SCHED | |||
328 | 328 | ||
329 | endchoice | 329 | endchoice |
330 | 330 | ||
331 | menu "Control Group support" | 331 | menuconfig CGROUPS |
332 | config CGROUPS | 332 | boolean "Control Group support" |
333 | bool "Control Group support" | ||
334 | help | 333 | help |
335 | This option add support for grouping sets of processes together, for | 334 | This option adds support for grouping sets of processes together, for |
336 | use with process control subsystems such as Cpusets, CFS, memory | 335 | use with process control subsystems such as Cpusets, CFS, memory |
337 | controls or device isolation. | 336 | controls or device isolation. |
338 | See | 337 | See |
@@ -343,6 +342,8 @@ config CGROUPS | |||
343 | 342 | ||
344 | Say N if unsure. | 343 | Say N if unsure. |
345 | 344 | ||
345 | if CGROUPS | ||
346 | |||
346 | config CGROUP_DEBUG | 347 | config CGROUP_DEBUG |
347 | bool "Example debug cgroup subsystem" | 348 | bool "Example debug cgroup subsystem" |
348 | depends on CGROUPS | 349 | depends on CGROUPS |
@@ -350,24 +351,24 @@ config CGROUP_DEBUG | |||
350 | help | 351 | help |
351 | This option enables a simple cgroup subsystem that | 352 | This option enables a simple cgroup subsystem that |
352 | exports useful debugging information about the cgroups | 353 | exports useful debugging information about the cgroups |
353 | framework | 354 | framework. |
354 | 355 | ||
355 | Say N if unsure | 356 | Say N if unsure. |
356 | 357 | ||
357 | config CGROUP_NS | 358 | config CGROUP_NS |
358 | bool "Namespace cgroup subsystem" | 359 | bool "Namespace cgroup subsystem" |
359 | depends on CGROUPS | 360 | depends on CGROUPS |
360 | help | 361 | help |
361 | Provides a simple namespace cgroup subsystem to | 362 | Provides a simple namespace cgroup subsystem to |
362 | provide hierarchical naming of sets of namespaces, | 363 | provide hierarchical naming of sets of namespaces, |
363 | for instance virtual servers and checkpoint/restart | 364 | for instance virtual servers and checkpoint/restart |
364 | jobs. | 365 | jobs. |
365 | 366 | ||
366 | config CGROUP_FREEZER | 367 | config CGROUP_FREEZER |
367 | bool "control group freezer subsystem" | 368 | bool "Freezer cgroup subsystem" |
368 | depends on CGROUPS | 369 | depends on CGROUPS |
369 | help | 370 | help |
370 | Provides a way to freeze and unfreeze all tasks in a | 371 | Provides a way to freeze and unfreeze all tasks in a |
371 | cgroup. | 372 | cgroup. |
372 | 373 | ||
373 | config CGROUP_DEVICE | 374 | config CGROUP_DEVICE |
@@ -388,18 +389,23 @@ config CPUSETS | |||
388 | 389 | ||
389 | Say N if unsure. | 390 | Say N if unsure. |
390 | 391 | ||
392 | config PROC_PID_CPUSET | ||
393 | bool "Include legacy /proc/<pid>/cpuset file" | ||
394 | depends on CPUSETS | ||
395 | default y | ||
396 | |||
391 | config CGROUP_CPUACCT | 397 | config CGROUP_CPUACCT |
392 | bool "Simple CPU accounting cgroup subsystem" | 398 | bool "Simple CPU accounting cgroup subsystem" |
393 | depends on CGROUPS | 399 | depends on CGROUPS |
394 | help | 400 | help |
395 | Provides a simple Resource Controller for monitoring the | 401 | Provides a simple Resource Controller for monitoring the |
396 | total CPU consumed by the tasks in a cgroup | 402 | total CPU consumed by the tasks in a cgroup. |
397 | 403 | ||
398 | config RESOURCE_COUNTERS | 404 | config RESOURCE_COUNTERS |
399 | bool "Resource counters" | 405 | bool "Resource counters" |
400 | help | 406 | help |
401 | This option enables controller independent resource accounting | 407 | This option enables controller independent resource accounting |
402 | infrastructure that works with cgroups | 408 | infrastructure that works with cgroups. |
403 | depends on CGROUPS | 409 | depends on CGROUPS |
404 | 410 | ||
405 | config CGROUP_MEM_RES_CTLR | 411 | config CGROUP_MEM_RES_CTLR |
@@ -425,9 +431,6 @@ config CGROUP_MEM_RES_CTLR | |||
425 | This config option also selects MM_OWNER config option, which | 431 | This config option also selects MM_OWNER config option, which |
426 | could in turn add some fork/exit overhead. | 432 | could in turn add some fork/exit overhead. |
427 | 433 | ||
428 | config MM_OWNER | ||
429 | bool | ||
430 | |||
431 | config CGROUP_MEM_RES_CTLR_SWAP | 434 | config CGROUP_MEM_RES_CTLR_SWAP |
432 | bool "Memory Resource Controller Swap Extension(EXPERIMENTAL)" | 435 | bool "Memory Resource Controller Swap Extension(EXPERIMENTAL)" |
433 | depends on CGROUP_MEM_RES_CTLR && SWAP && EXPERIMENTAL | 436 | depends on CGROUP_MEM_RES_CTLR && SWAP && EXPERIMENTAL |
@@ -444,8 +447,10 @@ config CGROUP_MEM_RES_CTLR_SWAP | |||
444 | there will be no overhead from this. Even when you set this config=y, | 447 | there will be no overhead from this. Even when you set this config=y, |
445 | if boot option "noswapaccount" is set, swap will not be accounted. | 448 | if boot option "noswapaccount" is set, swap will not be accounted. |
446 | 449 | ||
450 | endif # CGROUPS | ||
447 | 451 | ||
448 | endmenu | 452 | config MM_OWNER |
453 | bool | ||
449 | 454 | ||
450 | config SYSFS_DEPRECATED | 455 | config SYSFS_DEPRECATED |
451 | bool | 456 | bool |
@@ -483,11 +488,6 @@ config SYSFS_DEPRECATED_V2 | |||
483 | if the original kernel, that came with your distribution, has | 488 | if the original kernel, that came with your distribution, has |
484 | this option set to N. | 489 | this option set to N. |
485 | 490 | ||
486 | config PROC_PID_CPUSET | ||
487 | bool "Include legacy /proc/<pid>/cpuset file" | ||
488 | depends on CPUSETS | ||
489 | default y | ||
490 | |||
491 | config RELAY | 491 | config RELAY |
492 | bool "Kernel->user space relay support (formerly relayfs)" | 492 | bool "Kernel->user space relay support (formerly relayfs)" |
493 | help | 493 | help |