[PATCH 0/6] *** memcg: make throttle_vm_writeout() cgroup aware ***
From: Greg Thelen
Date: Tue Nov 09 2010 - 04:25:26 EST
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(-)
--
1.7.3.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/