From: Shakeel Butt <shakeelb@google.com>
To: Roman Gushchin <guro@fb.com>,
Johannes Weiner <hannes@cmpxchg.org>,
Michal Hocko <mhocko@suse.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org,
Shakeel Butt <shakeelb@google.com>
Subject: [PATCH v2 0/2] memcg: add pagetable comsumption to memory.stat
Date: Mon, 30 Nov 2020 13:25:39 -0800 [thread overview]
Message-ID: <20201130212541.2781790-1-shakeelb@google.com> (raw)
Many workloads consumes significant amount of memory in pagetables. One
specific use-case is the user space network driver which mmaps the
application memory to provide zero copy transfer. This driver can
consume a large amount memory in page tables. This patch series exposes
the pagetable comsumption for each memory cgroup.
Shakeel Butt (2):
mm: move lruvec stats update functions to vmstat.h
mm: memcontrol: account pagetables per node
Documentation/admin-guide/cgroup-v2.rst | 3 +
arch/nds32/mm/mm-nds32.c | 6 +-
drivers/base/node.c | 2 +-
fs/proc/meminfo.c | 2 +-
include/linux/memcontrol.h | 112 ------------------------
include/linux/mm.h | 11 ++-
include/linux/mmzone.h | 2 +-
include/linux/vmstat.h | 104 ++++++++++++++++++++++
mm/memcontrol.c | 19 ++++
mm/page_alloc.c | 6 +-
10 files changed, 142 insertions(+), 125 deletions(-)
--
2.29.2.454.gaff20da3a2-goog
next reply other threads:[~2020-11-30 21:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-30 21:25 Shakeel Butt [this message]
2020-11-30 21:25 ` [PATCH v2 1/2] mm: move lruvec stats update functions to vmstat.h Shakeel Butt
2020-11-30 21:25 ` [PATCH v2 2/2] mm: memcontrol: account pagetables per node Shakeel Butt
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=20201130212541.2781790-1-shakeelb@google.com \
--to=shakeelb@google.com \
--cc=akpm@linux-foundation.org \
--cc=guro@fb.com \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@suse.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).