linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] *** memcg: make throttle_vm_writeout() cgroup aware ***
@ 2010-11-09  9:24 Greg Thelen
  2010-11-09  9:24 ` [PATCH 1/6] memcg: add mem_cgroup parameter to mem_cgroup_page_stat() Greg Thelen
                   ` (5 more replies)
  0 siblings, 6 replies; 33+ messages in thread
From: Greg Thelen @ 2010-11-09  9:24 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Balbir Singh, KAMEZAWA Hiroyuki, Daisuke Nishimura,
	Johannes Weiner, Wu Fengguang, Minchan Kim, linux-mm,
	linux-kernel, Greg Thelen

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


^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2010-11-22  6:41 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-09  9:24 [PATCH 0/6] *** memcg: make throttle_vm_writeout() cgroup aware *** Greg Thelen
2010-11-09  9:24 ` [PATCH 1/6] memcg: add mem_cgroup parameter to mem_cgroup_page_stat() Greg Thelen
2010-11-09 22:53   ` Minchan Kim
2010-11-10  0:51   ` Minchan Kim
2010-11-16  3:50   ` KAMEZAWA Hiroyuki
2010-11-22  6:40   ` Balbir Singh
2010-11-09  9:24 ` [PATCH 2/6] memcg: pass mem_cgroup to mem_cgroup_dirty_info() Greg Thelen
2010-11-09 23:09   ` Minchan Kim
2010-11-16  3:51   ` KAMEZAWA Hiroyuki
2010-11-22  6:41   ` Balbir Singh
2010-11-09  9:24 ` [PATCH 3/6] memcg: make throttle_vm_writeout() memcg aware Greg Thelen
2010-11-09 23:22   ` Minchan Kim
2010-11-12  8:17   ` Johannes Weiner
2010-11-12 20:39     ` Greg Thelen
2010-11-16  3:57       ` KAMEZAWA Hiroyuki
2010-11-19 11:16         ` Johannes Weiner
2010-11-09  9:24 ` [PATCH 4/6] memcg: simplify mem_cgroup_page_stat() Greg Thelen
2010-11-09 23:36   ` Minchan Kim
2010-11-12  8:19   ` Johannes Weiner
2010-11-12 20:40     ` Greg Thelen
2010-11-19 11:22       ` Johannes Weiner
2010-11-16  3:58   ` KAMEZAWA Hiroyuki
2010-11-09  9:24 ` [PATCH 5/6] memcg: simplify mem_cgroup_dirty_info() Greg Thelen
2010-11-10  1:01   ` Minchan Kim
2010-11-12  8:21   ` Johannes Weiner
2010-11-12 20:40     ` Greg Thelen
2010-11-09  9:24 ` [PATCH 6/6] memcg: make mem_cgroup_page_stat() return value unsigned Greg Thelen
2010-11-09 12:15   ` Wu Fengguang
2010-11-10  1:04   ` Minchan Kim
2010-11-12  8:29   ` Johannes Weiner
2010-11-12 20:41     ` Greg Thelen
2010-11-19 11:39       ` Johannes Weiner
2010-11-16  4:00   ` KAMEZAWA Hiroyuki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).