@@ -187,12 +187,12 @@ the cgroup that brought it in -- this will happen on memory pressure).
187187But see section 8.2: when moving a task to another cgroup, its pages may
188188be recharged to the new cgroup, if move_charge_at_immigrate has been chosen.
189189
190- Exception: If CONFIG_CGROUP_CGROUP_MEM_RES_CTLR_SWAP is not used.
190+ Exception: If CONFIG_CGROUP_CGROUP_MEMCG_SWAP is not used.
191191When you do swapoff and make swapped-out pages of shmem(tmpfs) to
192192be backed into memory in force, charges for pages are accounted against the
193193caller of swapoff rather than the users of shmem.
194194
195- 2.4 Swap Extension (CONFIG_CGROUP_MEM_RES_CTLR_SWAP )
195+ 2.4 Swap Extension (CONFIG_MEMCG_SWAP )
196196
197197Swap Extension allows you to record charge for swap. A swapped-in page is
198198charged back to original page allocator if possible.
@@ -259,7 +259,7 @@ When oom event notifier is registered, event will be delivered.
259259 per-zone-per-cgroup LRU (cgroup's private LRU) is just guarded by
260260 zone->lru_lock, it has no lock of its own.
261261
262- 2.7 Kernel Memory Extension (CONFIG_CGROUP_MEM_RES_CTLR_KMEM )
262+ 2.7 Kernel Memory Extension (CONFIG_MEMCG_KMEM )
263263
264264With the Kernel memory extension, the Memory Controller is able to limit
265265the amount of kernel memory used by the system. Kernel memory is fundamentally
@@ -286,8 +286,8 @@ per cgroup, instead of globally.
286286
287287a. Enable CONFIG_CGROUPS
288288b. Enable CONFIG_RESOURCE_COUNTERS
289- c. Enable CONFIG_CGROUP_MEM_RES_CTLR
290- d. Enable CONFIG_CGROUP_MEM_RES_CTLR_SWAP (to use swap extension)
289+ c. Enable CONFIG_MEMCG
290+ d. Enable CONFIG_MEMCG_SWAP (to use swap extension)
291291
2922921. Prepare the cgroups (see cgroups.txt, Why are cgroups needed?)
293293# mount -t tmpfs none /sys/fs/cgroup
0 commit comments