]> Git Repo - linux.git/commit - mm/vmscan.c
mm: make per-memcg LRU lists exclusive
authorJohannes Weiner <[email protected]>
Fri, 13 Jan 2012 01:18:15 +0000 (17:18 -0800)
committerLinus Torvalds <[email protected]>
Fri, 13 Jan 2012 04:13:05 +0000 (20:13 -0800)
commit925b7673cce39116ce61e7a06683a4a0dad1e72a
tree66c134db836e531e196ee3dfc23c124ff74ac827
parent6290df545814990ca2663baf6e894669132d5f73
mm: make per-memcg LRU lists exclusive

Now that all code that operated on global per-zone LRU lists is
converted to operate on per-memory cgroup LRU lists instead, there is no
reason to keep the double-LRU scheme around any longer.

The pc->lru member is removed and page->lru is linked directly to the
per-memory cgroup LRU lists, which removes two pointers from a
descriptor that exists for every page frame in the system.

Signed-off-by: Johannes Weiner <[email protected]>
Signed-off-by: Hugh Dickins <[email protected]>
Signed-off-by: Ying Han <[email protected]>
Reviewed-by: KAMEZAWA Hiroyuki <[email protected]>
Reviewed-by: Michal Hocko <[email protected]>
Reviewed-by: Kirill A. Shutemov <[email protected]>
Cc: Daisuke Nishimura <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Greg Thelen <[email protected]>
Cc: Michel Lespinasse <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/memcontrol.h
include/linux/mm_inline.h
include/linux/page_cgroup.h
mm/memcontrol.c
mm/page_cgroup.c
mm/swap.c
mm/vmscan.c
This page took 0.05808 seconds and 4 git commands to generate.