Skip to content

mm/memcg: Miscellaneous cleanups and streamlining

Waiman Long cgroups linux-mm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 7 repliesIn review 2 of 3 applied
  2. v13 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- For patch 2, separate v1 and v2 processing and add back the missing total_swap_pages check.
- For patch 3, use union to merge swap and memsw page counters.

Patches in v2 2 of 3 applied

#Subject and filesSizeRepliesApplied
1/3mm/memcg: Clean up obsolete enum charge_typemm/memcontrol.c+0 -81 replyApplied
2/3mm/memcg: Simplify mem_cgroup_get_max()mm/memcontrol.c+9 -114 replies
3/3mm/memcg: Unify swap and memsw page countersinclude/linux/memcontrol.h mm/memcontrol.c+8 -82 repliesApplied

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJohannes WeinerShakeel ButtMichal Hocko
SeriesR-b A-b
1/3A-b R-b A-b
2/3
3/3R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3] mm/memcg: Miscellaneous cleanups and streamlining

v2:
- For patch 2, separate v1 and v2 processing and add back the missing total_swap_pages check.
- For patch 3, use union to merge swap and memsw page counters.

Patch 1 removes an unused enum charge_type.

Patch 2 streamlines mem_cgroup_get_max().

Patch 3 unifies swap and memsw page counters in mem_cgroup.

Waiman Long (3):
mm/memcg: Clean up obsolete enum charge_type
mm/memcg: Simplify mem_cgroup_get_max()
mm/memcg: Unify swap and memsw page counters

 include/linux/memcontrol.h | 13 ++++++++-----
 mm/memcontrol.c            | 29 ++++++++---------------------
 2 files changed, 16 insertions(+), 26 deletions(-)
Signature · 1 line
2.18.1