]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - mm/memcontrol.c
mm: memcontrol: drop dead CONFIG_MEMCG_SWAP config symbol
authorJohannes Weiner <hannes@cmpxchg.org>
Mon, 26 Sep 2022 13:57:04 +0000 (09:57 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:36 +0000 (14:03 -0700)
commite55b9f96860f6c6026cff97966a740576285e07b
treea0341415c2b45733d612961e2e356dad07954300
parentb94c4e949c36e0e363515822ade0d8305e9a6ef2
mm: memcontrol: drop dead CONFIG_MEMCG_SWAP config symbol

Since 2d1c498072de ("mm: memcontrol: make swap tracking an integral part
of memory control"), CONFIG_MEMCG_SWAP hasn't been a user-visible config
option anymore, it just means CONFIG_MEMCG && CONFIG_SWAP.

Update the sites accordingly and drop the symbol.

[ While touching the docs, remove two references to CONFIG_MEMCG_KMEM,
  which hasn't been a user-visible symbol for over half a decade. ]

Link: https://lkml.kernel.org/r/20220926135704.400818-5-hannes@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Shakeel Butt <shakeelb@google.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
13 files changed:
Documentation/admin-guide/cgroup-v1/memory.rst
arch/mips/configs/db1xxx_defconfig
arch/mips/configs/generic_defconfig
arch/powerpc/configs/powernv_defconfig
arch/powerpc/configs/pseries_defconfig
arch/sh/configs/sdk7786_defconfig
arch/sh/configs/urquell_defconfig
include/linux/swap.h
include/linux/swap_cgroup.h
init/Kconfig
mm/Makefile
mm/memcontrol.c
tools/testing/selftests/cgroup/config