]> Git Repo - linux.git/commit
Memory controller: add per cgroup LRU and reclaim
authorBalbir Singh <[email protected]>
Thu, 7 Feb 2008 08:13:56 +0000 (00:13 -0800)
committerLinus Torvalds <[email protected]>
Thu, 7 Feb 2008 16:42:18 +0000 (08:42 -0800)
commit66e1707bc34609f626e2e7b4fe7e454c9748bad5
treed850a729887485874c976ba64eb85e3406e488a1
parent67e465a77ba658635309ee00b367bec6555ea544
Memory controller: add per cgroup LRU and reclaim

Add the page_cgroup to the per cgroup LRU.  The reclaim algorithm has
been modified to make the isolate_lru_pages() as a pluggable component.  The
scan_control data structure now accepts the cgroup on behalf of which
reclaims are carried out.  try_to_free_pages() has been extended to become
cgroup aware.

[[email protected]: fix warning]
[[email protected]: initialize all scan_control's isolate_pages member]
[[email protected]: make do_try_to_free_pages() static]
[[email protected]: memcgroup: fix try_to_free order]
[[email protected]: this unlock_page_cgroup() is unnecessary]
Signed-off-by: Pavel Emelianov <[email protected]>
Signed-off-by: Balbir Singh <[email protected]>
Cc: Paul Menage <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: Kirill Korotaev <[email protected]>
Cc: Herbert Poetzl <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Vaidyanathan Srinivasan <[email protected]>
Signed-off-by: Lee Schermerhorn <[email protected]>
Signed-off-by: Hugh Dickins <[email protected]>
Signed-off-by: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/memcontrol.h
include/linux/res_counter.h
include/linux/swap.h
mm/memcontrol.c
mm/swap.c
mm/vmscan.c
This page took 0.058667 seconds and 4 git commands to generate.