]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8aba8767db9f25a6c050d760c89bd699390f6dd1
treea0341415c2b45733d612961e2e356dad07954300
parent1ed77b9d47beaf26cc59352ce5e76e327191bbf6
mm: memcontrol: drop dead CONFIG_MEMCG_SWAP config symbol

Since eb00ace33148 ("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