]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm-add-free_hot_cold_page_list-helper-v3
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Fri, 2 Dec 2011 03:11:36 +0000 (14:11 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 2 Dec 2011 03:15:29 +0000 (14:15 +1100)
commitbedb30369c8830409bc975a8513f65cca289b0d5
treedcd0c3f08666b34ce1f5835ced4491598ecb717b
parent4cbf8199a388c4fc11f988faf128d20df33fbc26
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