[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1289294671-6865-1-git-send-email-gthelen@google.com>
Date: Tue, 9 Nov 2010 01:24:25 -0800
From: Greg Thelen <gthelen@...gle.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Balbir Singh <balbir@...ux.vnet.ibm.com>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
Daisuke Nishimura <nishimura@....nes.nec.co.jp>,
Johannes Weiner <hannes@...xchg.org>,
Wu Fengguang <fengguang.wu@...el.com>,
Minchan Kim <minchan.kim@...il.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Greg Thelen <gthelen@...gle.com>
Subject: [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(-)
--
1.7.3.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists