mbox series

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

Message ID 1587216789-42342-1-git-send-email-alex.shi@linux.alibaba.com (mailing list archive)
Headers show
Series always record memcg id for swapped memcg pages | expand

Message

Alex Shi April 18, 2020, 1:33 p.m. UTC
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@linux-foundation.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: linux-kernel@vger.kernel.org
Cc: linux-mm@kvack.org
Cc: cgroups@vger.kernel.org
---
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(-)