]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm-add-free_hot_cold_page_list-helper-v3
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Wed, 16 Nov 2011 23:41:22 +0000 (10:41 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 28 Nov 2011 04:37:41 +0000 (15:37 +1100)
commita5ce78034474cf63f00bb946282fa88b68a89f5a
tree2d747692ee7c4901caff07d002557b0c525dbc16
parent0f4f947d2481fc1dee69b6ee0f65419c1d31eb49
mm-add-free_hot_cold_page_list-helper-v3

v3: Always free pages in reverse order.
    The most recently added struct page, the most likely to be hot.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Minchan Kim <minchan.kim@gmail.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/swap.c