Skip to content

page_counter cleanup and size reduction

Shakeel Butt cgroups linux-mm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew 2 of 3 applied

Patches in v1 2 of 3 applied

#Subject and filesSizeRepliesApplied
1/3memcg: don't call propagate_protected_usage() for v1mm/memcontrol.c+3 -20 replies
2/3page_counter: track failcnt only for legacy cgroupsinclude/linux/page_counter.h mm/hugetlb_cgroup.c mm/memcontrol.c +1 more+30 -210 repliesApplied
3/3page_counter: reduce struct page_counter sizeinclude/linux/page_counter.h+4 -30 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] page_counter cleanup and size reduction

The commit c6f53ed8f213a ("mm, memcg: cg2 memory{.swap,}.peak write handlers") has accidently increased the size of struct page_counter. This series rearrange the fields to reduce its size and also has some cleanups.

Shakeel Butt (3):
memcg: don't call propagate_protected_usage() for v1
page_counter: track failcnt only for legacy cgroups
page_counter: reduce struct page_counter size

 include/linux/page_counter.h |  9 ++++++---
 mm/hugetlb_cgroup.c          | 31 ++++++++++++++-----------------
 mm/memcontrol.c              | 17 +++++++++++++----
 mm/page_counter.c            |  4 +++-
 4 files changed, 36 insertions(+), 25 deletions(-)
Signature · 1 line
2.43.5