memory controller: soft limit refactor reclaim flags
commit75822b4495b62e8721e9b88e3cf9e653a0c85b73
authorBalbir Singh <balbir@linux.vnet.ibm.com>
Wed, 23 Sep 2009 22:56:38 +0000 (23 15:56 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Sep 2009 14:20:59 +0000 (24 07:20 -0700)
treeb8d4c10f03a4e289f0a66b982243fd8980f9df07
parentf64c3f54940d6929a2b6dcffaab942bd62be2e66
memory controller: soft limit refactor reclaim flags

Refactor mem_cgroup_hierarchical_reclaim()

Refactor the arguments passed to mem_cgroup_hierarchical_reclaim() into
flags, so that new parameters don't have to be passed as we make the
reclaim routine more flexible

Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c