Skip to content

memcg: reduce memory overhead of memory cgroups

Shakeel Butt cgroups linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review 2 of 3 applied

Patches in v1 2 of 3 applied

#Subject and filesSizeRepliesApplied
1/3memcg: extract memcg_vmstats from struct mem_cgroupinclude/linux/memcontrol.h mm/memcontrol.c+52 -422 repliesApplied
2/3memcg: rearrange codemm/memcontrol.c+23 -230 repliesApplied
3/3memcg: reduce size of memcg vmstats structuresmm/memcontrol.c+43 -95 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchRoman Gushchin
1/3
2/3
3/3A-b

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

Read the v1 thread

Cover letter [PATCH 0/3] memcg: reduce memory overhead of memory cgroups

Currently a lot of memory is wasted to maintain the vmevents for memory cgroups as we have multiple arrays of size NR_VM_EVENT_ITEMS which can be as large as 110. However memcg code uses small portion of those entries. This patch series eliminate this overhead by removing the unneeded vmevent entries from memory cgroup data structures.

Shakeel Butt (3):
memcg: extract memcg_vmstats from struct mem_cgroup
memcg: rearrange code
memcg: reduce size of memcg vmstats structures

 include/linux/memcontrol.h |  37 +---------
 mm/memcontrol.c            | 145 ++++++++++++++++++++++++++++---------
 2 files changed, 113 insertions(+), 69 deletions(-)
Signature · 1 line
2.37.2.789.g6183377224-goog