[PATCH v2 0/2] always record memcg id for swapped memcg pages

From: Alex Shi
Date: Sat Apr 18 2020 - 09:45:51 EST


Hi Johannes,

2 patches fold MEMCG_SWAP feature into kernel as default. I don't know if
they could fit your new solution.

But just in case if they can save you some typing. :)

Thanks
Alex
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: Johannes Weiner <hannes@xxxxxxxxxxx>
Cc: Michal Hocko <mhocko@xxxxxxxxxx>
Cc: Vladimir Davydov <vdavydov.dev@xxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: linux-mm@xxxxxxxxx
Cc: cgroups@xxxxxxxxxxxxxxx
---
Alex Shi (2):
memcg: folding CONFIG_MEMCG_SWAP as default
mm/memcg: remove swapaccount kernel parameter

Documentation/admin-guide/kernel-parameters.txt | 5 --
arch/arm/configs/omap2plus_defconfig | 1 -
arch/arm64/configs/defconfig | 1 -
arch/mips/configs/db1xxx_defconfig | 1 -
arch/mips/configs/generic_defconfig | 1 -
arch/mips/configs/loongson3_defconfig | 1 -
arch/parisc/configs/generic-64bit_defconfig | 1 -
arch/powerpc/configs/powernv_defconfig | 1 -
arch/powerpc/configs/pseries_defconfig | 1 -
arch/s390/configs/debug_defconfig | 1 -
arch/s390/configs/defconfig | 1 -
arch/sh/configs/sdk7786_defconfig | 1 -
arch/sh/configs/urquell_defconfig | 1 -
include/linux/memcontrol.h | 4 --
include/linux/swap.h | 27 ----------
include/linux/swap_cgroup.h | 30 -----------
init/Kconfig | 20 --------
mm/Makefile | 4 +-
mm/memcontrol.c | 68 ++++++-------------------
mm/swap_cgroup.c | 7 ---
20 files changed, 17 insertions(+), 160 deletions(-)

--
1.8.3.1