diff options
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/init/Kconfig b/init/Kconfig index f698a5af5007..442850b984be 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -366,6 +366,21 @@ config RESOURCE_COUNTERS | |||
366 | infrastructure that works with cgroups | 366 | infrastructure that works with cgroups |
367 | depends on CGROUPS | 367 | depends on CGROUPS |
368 | 368 | ||
369 | config CGROUP_MEM_RES_CTLR | ||
370 | bool "Memory Resource Controller for Control Groups" | ||
371 | depends on CGROUPS && RESOURCE_COUNTERS | ||
372 | help | ||
373 | Provides a memory resource controller that manages both page cache and | ||
374 | RSS memory. | ||
375 | |||
376 | Note that setting this option increases fixed memory overhead | ||
377 | associated with each page of memory in the system by 4/8 bytes | ||
378 | and also increases cache misses because struct page on many 64bit | ||
379 | systems will not fit into a single cache line anymore. | ||
380 | |||
381 | Only enable when you're ok with these trade offs and really | ||
382 | sure you need the memory resource controller. | ||
383 | |||
369 | config SYSFS_DEPRECATED | 384 | config SYSFS_DEPRECATED |
370 | bool "Create deprecated sysfs files" | 385 | bool "Create deprecated sysfs files" |
371 | depends on SYSFS | 386 | depends on SYSFS |
@@ -387,21 +402,6 @@ config SYSFS_DEPRECATED | |||
387 | If you are using a distro that was released in 2006 or later, | 402 | If you are using a distro that was released in 2006 or later, |
388 | it should be safe to say N here. | 403 | it should be safe to say N here. |
389 | 404 | ||
390 | config CGROUP_MEM_CONT | ||
391 | bool "Memory controller for cgroups" | ||
392 | depends on CGROUPS && RESOURCE_COUNTERS | ||
393 | help | ||
394 | Provides a memory controller that manages both page cache and | ||
395 | RSS memory. | ||
396 | |||
397 | Note that setting this option increases fixed memory overhead | ||
398 | associated with each page of memory in the system by 4/8 bytes | ||
399 | and also increases cache misses because struct page on many 64bit | ||
400 | systems will not fit into a single cache line anymore. | ||
401 | |||
402 | Only enable when you're ok with these trade offs and really | ||
403 | sure you need the memory controller. | ||
404 | |||
405 | config PROC_PID_CPUSET | 405 | config PROC_PID_CPUSET |
406 | bool "Include legacy /proc/<pid>/cpuset file" | 406 | bool "Include legacy /proc/<pid>/cpuset file" |
407 | depends on CPUSETS | 407 | depends on CPUSETS |