From: Alex Shi <alex.shi@linux.alibaba.com>
Cc: Alex Shi <alex.shi@linux.alibaba.com>,
Andrew Morton <akpm@linux-foundation.org>,
Johannes Weiner <hannes@cmpxchg.org>,
Michal Hocko <mhocko@kernel.org>,
Vladimir Davydov <vdavydov.dev@gmail.com>,
linux-kernel@vger.kernel.org, linux-mm@kvack.org,
cgroups@vger.kernel.org
Subject: [PATCH v2 0/2] always record memcg id for swapped memcg pages
Date: Sat, 18 Apr 2020 21:33:07 +0800 [thread overview]
Message-ID: <1587216789-42342-1-git-send-email-alex.shi@linux.alibaba.com> (raw)
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(-)
--
1.8.3.1
next reply other threads:[~2020-04-18 13:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-18 13:33 Alex Shi [this message]
2020-04-18 13:33 ` [PATCH v2 1/2] memcg: folding CONFIG_MEMCG_SWAP as default Alex Shi
2020-04-20 8:02 ` Michal Hocko
2020-04-18 13:33 ` [PATCH v2 2/2] mm/memcg: remove swapaccount kernel parameter Alex Shi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1587216789-42342-1-git-send-email-alex.shi@linux.alibaba.com \
--to=alex.shi@linux.alibaba.com \
--cc=akpm@linux-foundation.org \
--cc=cgroups@vger.kernel.org \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@kernel.org \
--cc=vdavydov.dev@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).