]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: push lru index into shrink_[in]active_list()
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Thu, 12 Apr 2012 22:52:04 +0000 (08:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 17 Apr 2012 03:47:20 +0000 (13:47 +1000)
commit9a331953ea28852b9b406bdaf90b43f3387a5861
tree59be9d8110e82892b05ac2e8d8ec2939c0bcdf74
parentbac6364f9f829ec0f1d19793dbd533e0d471fa34
mm: push lru index into shrink_[in]active_list()

Let's toss lru index through call stack to isolate_lru_pages(), this is
better than its reconstructing from individual bits.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Hugh Dickins <hughd@google.com>
Cc: Glauber Costa <glommer@parallels.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c