Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: cgroup-v1: replace dead CONFIG_MEM_RES_CTRL_SWAP symbol

Commit e55b9f96860f ("mm: memcontrol: drop dead CONFIG_MEMCG_SWAP
config symbol") removed MEMCG_SWAP as it was just a shorthand for
CONFIG_MEMCG && CONFIG_SWAP.

The commit also adjusted the documentation but missed reference to
CONFIG_MEM_RES_CTRL_SWAP, which was the previous name of
CONFIG_MEMCG_SWAP before renaming in commit c255a458055e ("memcg: rename
config variables").

Update the reference to the current state.

Signed-off-by: Krzysztof Pawlaczyk <krzpaw@gmail.com>
Reviewed-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20230728105723.251892-1-krzpaw@gmail.com

authored by

Krzysztof Pawlaczyk and committed by
Jonathan Corbet
87f8d8f4 25bf1bac

+1 -1
+1 -1
Documentation/admin-guide/cgroup-v1/memcg_test.rst
··· 62 62 63 63 At cancel(), simply usage -= PAGE_SIZE. 64 64 65 - Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y. 65 + Under below explanation, we assume CONFIG_SWAP=y. 66 66 67 67 4. Anonymous 68 68 ============