Skip to content

memcg: add pagetable comsumption to memory.stat

Shakeel Butt linux-mm lkml 2 versions – Applied

Status from this message: [merged] mm-memcontrol-account-pagetables-per-node.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesApplied 2/2
  2. v12 patches 7 repliesSuperseded

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mm: move lruvec stats update functions to vmstat.hinclude/linux/memcontrol.h include/linux/vmstat.h mm/memcontrol.c+122 -1120 repliesApplied
2/2mm: memcontrol: account pagetables per nodeDocumentation/admin-guide/cgroup-v2.rst arch/nds32/mm/mm-nds32.c drivers/base/node.c +6 more+18 -140 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJohannes WeinerRoman Gushchin
1/2A-b A-b
2/2A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] memcg: add pagetable comsumption to memory.stat

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(-)
Signature · 1 line
2.29.2.454.gaff20da3a2-goog