mm: memcontrol: drop dead CONFIG_MEMCG_SWAP config symbol
Since 2d1c4980 ("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>
Showing
- Documentation/admin-guide/cgroup-v1/memory.rst 1 addition, 3 deletionsDocumentation/admin-guide/cgroup-v1/memory.rst
- arch/mips/configs/db1xxx_defconfig 0 additions, 1 deletionarch/mips/configs/db1xxx_defconfig
- arch/mips/configs/generic_defconfig 0 additions, 1 deletionarch/mips/configs/generic_defconfig
- arch/powerpc/configs/powernv_defconfig 0 additions, 1 deletionarch/powerpc/configs/powernv_defconfig
- arch/powerpc/configs/pseries_defconfig 0 additions, 1 deletionarch/powerpc/configs/pseries_defconfig
- arch/sh/configs/sdk7786_defconfig 0 additions, 1 deletionarch/sh/configs/sdk7786_defconfig
- arch/sh/configs/urquell_defconfig 0 additions, 1 deletionarch/sh/configs/urquell_defconfig
- include/linux/swap.h 1 addition, 1 deletioninclude/linux/swap.h
- include/linux/swap_cgroup.h 2 additions, 2 deletionsinclude/linux/swap_cgroup.h
- init/Kconfig 0 additions, 5 deletionsinit/Kconfig
- mm/Makefile 3 additions, 1 deletionmm/Makefile
- mm/memcontrol.c 3 additions, 3 deletionsmm/memcontrol.c
- tools/testing/selftests/cgroup/config 0 additions, 1 deletiontools/testing/selftests/cgroup/config
Loading
Please register or sign in to comment