From: Vladimir Davydov <vdavydov@parallels.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>,
Michal Hocko <mhocko@kernel.org>, Tejun Heo <tj@kernel.org>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/5] memcg: charge page tables (x86) and pipe buffers
Date: Sat, 26 Sep 2015 13:45:52 +0300 [thread overview]
Message-ID: <cover.1443262808.git.vdavydov@parallels.com> (raw)
Hi,
There are at least two object types left that can be allocated by an
unprivileged process and go uncharged to memcg - pipe buffers and page
tables. This patch set tries to make them accounted.
Comments are welcome.
Thanks,
Vladimir Davydov (5):
mm: uncharge kmem pages from generic free_page path
fs: charge pipe buffers to memcg
memcg: teach uncharge_list to uncharge kmem pages
mm: add __get_free_kmem_pages helper
x86: charge page table pages to memcg
arch/x86/include/asm/pgalloc.h | 5 +++--
arch/x86/mm/pgtable.c | 8 ++++----
fs/pipe.c | 2 +-
include/linux/gfp.h | 4 +---
include/linux/page-flags.h | 22 ++++++++++++++++++++++
kernel/fork.c | 2 +-
mm/memcontrol.c | 21 ++++++++++++++-------
mm/page_alloc.c | 38 ++++++++++++++++++++------------------
mm/slub.c | 2 +-
9 files changed, 67 insertions(+), 37 deletions(-)
--
2.1.4
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
WARNING: multiple messages have this Message-ID (diff)
From: Vladimir Davydov <vdavydov@parallels.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>,
Michal Hocko <mhocko@kernel.org>, Tejun Heo <tj@kernel.org>,
<linux-mm@kvack.org>, <linux-kernel@vger.kernel.org>
Subject: [PATCH 0/5] memcg: charge page tables (x86) and pipe buffers
Date: Sat, 26 Sep 2015 13:45:52 +0300 [thread overview]
Message-ID: <cover.1443262808.git.vdavydov@parallels.com> (raw)
Hi,
There are at least two object types left that can be allocated by an
unprivileged process and go uncharged to memcg - pipe buffers and page
tables. This patch set tries to make them accounted.
Comments are welcome.
Thanks,
Vladimir Davydov (5):
mm: uncharge kmem pages from generic free_page path
fs: charge pipe buffers to memcg
memcg: teach uncharge_list to uncharge kmem pages
mm: add __get_free_kmem_pages helper
x86: charge page table pages to memcg
arch/x86/include/asm/pgalloc.h | 5 +++--
arch/x86/mm/pgtable.c | 8 ++++----
fs/pipe.c | 2 +-
include/linux/gfp.h | 4 +---
include/linux/page-flags.h | 22 ++++++++++++++++++++++
kernel/fork.c | 2 +-
mm/memcontrol.c | 21 ++++++++++++++-------
mm/page_alloc.c | 38 ++++++++++++++++++++------------------
mm/slub.c | 2 +-
9 files changed, 67 insertions(+), 37 deletions(-)
--
2.1.4
next reply other threads:[~2015-09-26 10:46 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-26 10:45 Vladimir Davydov [this message]
2015-09-26 10:45 ` [PATCH 0/5] memcg: charge page tables (x86) and pipe buffers Vladimir Davydov
2015-09-26 10:45 ` [PATCH 1/5] mm: uncharge kmem pages from generic free_page path Vladimir Davydov
2015-09-26 10:45 ` Vladimir Davydov
2015-09-29 22:43 ` Andrew Morton
2015-09-29 22:43 ` Andrew Morton
2015-09-30 16:46 ` Vladimir Davydov
2015-09-30 16:46 ` Vladimir Davydov
2015-09-30 19:51 ` Greg Thelen
2015-09-30 19:51 ` Greg Thelen
2015-10-01 18:52 ` Vladimir Davydov
2015-10-01 18:52 ` Vladimir Davydov
2015-09-26 10:45 ` [PATCH 2/5] fs: charge pipe buffers to memcg Vladimir Davydov
2015-09-26 10:45 ` Vladimir Davydov
2015-09-29 22:57 ` Andrew Morton
2015-09-29 22:57 ` Andrew Morton
2015-09-30 16:49 ` Vladimir Davydov
2015-09-30 16:49 ` Vladimir Davydov
2015-09-26 10:45 ` [PATCH 3/5] memcg: teach uncharge_list to uncharge kmem pages Vladimir Davydov
2015-09-26 10:45 ` Vladimir Davydov
2015-09-26 10:45 ` [PATCH 4/5] mm: add __get_free_kmem_pages helper Vladimir Davydov
2015-09-26 10:45 ` Vladimir Davydov
2015-09-26 10:45 ` [PATCH 5/5] x86: charge page table pages to memcg Vladimir Davydov
2015-09-26 10:45 ` Vladimir Davydov
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=cover.1443262808.git.vdavydov@parallels.com \
--to=vdavydov@parallels.com \
--cc=akpm@linux-foundation.org \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@kernel.org \
--cc=tj@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.