@@ -686,7 +686,7 @@ config RESOURCE_COUNTERS
686
686
This option enables controller independent resource accounting
687
687
infrastructure that works with cgroups.
688
688
689
- config CGROUP_MEM_RES_CTLR
689
+ config MEMCG
690
690
bool "Memory Resource Controller for Control Groups"
691
691
depends on RESOURCE_COUNTERS
692
692
select MM_OWNER
@@ -709,9 +709,9 @@ config CGROUP_MEM_RES_CTLR
709
709
This config option also selects MM_OWNER config option, which
710
710
could in turn add some fork/exit overhead.
711
711
712
- config CGROUP_MEM_RES_CTLR_SWAP
712
+ config MEMCG_SWAP
713
713
bool "Memory Resource Controller Swap Extension"
714
- depends on CGROUP_MEM_RES_CTLR && SWAP
714
+ depends on MEMCG && SWAP
715
715
help
716
716
Add swap management feature to memory resource controller. When you
717
717
enable this, you can limit mem+swap usage per cgroup. In other words,
@@ -726,9 +726,9 @@ config CGROUP_MEM_RES_CTLR_SWAP
726
726
if boot option "swapaccount=0" is set, swap will not be accounted.
727
727
Now, memory usage of swap_cgroup is 2 bytes per entry. If swap page
728
728
size is 4096bytes, 512k per 1Gbytes of swap.
729
- config CGROUP_MEM_RES_CTLR_SWAP_ENABLED
729
+ config MEMCG_SWAP_ENABLED
730
730
bool "Memory Resource Controller Swap Extension enabled by default"
731
- depends on CGROUP_MEM_RES_CTLR_SWAP
731
+ depends on MEMCG_SWAP
732
732
default y
733
733
help
734
734
Memory Resource Controller Swap Extension comes with its price in
@@ -739,9 +739,9 @@ config CGROUP_MEM_RES_CTLR_SWAP_ENABLED
739
739
For those who want to have the feature enabled by default should
740
740
select this option (if, for some reason, they need to disable it
741
741
then swapaccount=0 does the trick).
742
- config CGROUP_MEM_RES_CTLR_KMEM
742
+ config MEMCG_KMEM
743
743
bool "Memory Resource Controller Kernel Memory accounting (EXPERIMENTAL)"
744
- depends on CGROUP_MEM_RES_CTLR && EXPERIMENTAL
744
+ depends on MEMCG && EXPERIMENTAL
745
745
default n
746
746
help
747
747
The Kernel Memory extension for Memory Resource Controller can limit
0 commit comments