[Devel] [PATCH rh7 0/7] Some kmemcg related fixes
Vladimir Davydov
vdavydov at virtuozzo.com
Mon May 30 07:23:16 PDT 2016
This patch set backports some changes from the following patch set
submitted upstream:
lkml.kernel.org/r/cover.1464079537.git.vdavydov at virtuozzo.com
[hasn't been merged yet]
namely:
- move kmemcg charge/uncharge to generic allocator paths
- fix pipe buffer stealing
- avoid charging kernel page tables
- account unix socket buffers to kmemcg (PSBM-34562)
Vladimir Davydov (7):
Drop alloc_kmem_pages and friends
mm: memcontrol: drop memcg_kmem_commit_charge
Move PageBalloon and PageBuddy helpers to page-flags.h
mm: charge/uncharge kmemcg from generic page allocator paths
af_unix: charge buffers to kmemcg
pipe: uncharge page on ->steal
arch: x86: don't charge kernel page tables to kmemcg
arch/x86/include/asm/pgalloc.h | 22 +++++++++----
arch/x86/kernel/ldt.c | 6 ++--
arch/x86/mm/pgtable.c | 32 +++++++++---------
fs/pipe.c | 28 +++++++++++-----
include/linux/gfp.h | 8 -----
include/linux/memcontrol.h | 39 ++++------------------
include/linux/mm.h | 47 --------------------------
include/linux/page-flags.h | 66 +++++++++++++++++++++++++++++++++++++
kernel/fork.c | 6 ++--
mm/memcontrol.c | 31 ++++++------------
mm/page_alloc.c | 69 +++------------------------------------
mm/slab_common.c | 2 +-
mm/slub.c | 4 +--
mm/vmalloc.c | 6 ++--
net/netfilter/nf_conntrack_core.c | 6 ++--
net/packet/af_packet.c | 8 ++---
net/unix/af_unix.c | 1 +
17 files changed, 157 insertions(+), 224 deletions(-)
--
2.1.4
More information about the Devel
mailing list