Skip to content

*** memcg: make throttle_vm_writeout() cgroup aware ***

Greg Thelen linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6memcg: add mem_cgroup parameter to mem_cgroup_page_stat()include/linux/memcontrol.h mm/memcontrol.c mm/page-writeback.c+26 -194 replies
2/6memcg: pass mem_cgroup to mem_cgroup_dirty_info()include/linux/memcontrol.h mm/memcontrol.c mm/page-writeback.c+11 -53 replies
3/6memcg: make throttle_vm_writeout() memcg awareinclude/linux/writeback.h mm/page-writeback.c mm/vmscan.c+18 -175 replies
4/6memcg: simplify mem_cgroup_page_stat()mm/memcontrol.c+22 -265 replies
5/6memcg: simplify mem_cgroup_dirty_info()mm/memcontrol.c+3 -113 replies
6/6memcg: make mem_cgroup_page_stat() return value unsignedinclude/linux/memcontrol.h mm/memcontrol.c+13 -56 replies

Reviews trailers per patch

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

PatchWu FengguangMinchan KimKAMEZAWA HiroyukiJohannes WeinerBalbir Singh
1/6R-b A-b
2/6R-b A-b A-b
3/6R-b
4/6R-b A-b A-b
5/6R-b
6/6R-b R-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 5 reviewers.

Read the v1 thread

Cover letter [PATCH 0/6] *** memcg: make throttle_vm_writeout() cgroup aware ***

This series aims to:
- Make throttle_vm_writeout() cgroup aware. Prior to this patch, cgroup reclaim would consider global dirty limits when deciding to throttle. Now cgroup limits are used if the cgroup being reclaimed has dirty limits.

- Part of making throttle_vm_writeout() cgroup aware involves fixing a negative value signaling error in mem_cgroup_page_stat(). Previously, mem_cgroup_page_stat() could falsely return a negative value if a per-cpu counter sum was negative. Calling routines considered negative a special "cgroup does not have limits" value.

Greg Thelen (6):
memcg: add mem_cgroup parameter to mem_cgroup_page_stat()
memcg: pass mem_cgroup to mem_cgroup_dirty_info()
memcg: make throttle_vm_writeout() memcg aware
memcg: simplify mem_cgroup_page_stat()
memcg: simplify mem_cgroup_dirty_info()
memcg: make mem_cgroup_page_stat() return value unsigned

 include/linux/memcontrol.h |    8 +++-
 include/linux/writeback.h  |    2 +-
 mm/memcontrol.c            |   92 ++++++++++++++++++++++---------------------
 mm/page-writeback.c        |   40 ++++++++++---------
 mm/vmscan.c                |    2 +-
 5 files changed, 77 insertions(+), 67 deletions(-)
Signature · 8 lines
1.7.3.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>