Re: [PATCH v2 07/10] In order putback lru core

From: Rik van Riel
Date: Wed Jun 01 2011 - 17:09:25 EST


On 05/29/2011 02:13 PM, Minchan Kim wrote:
This patch defines new APIs to put back the page into previous position of LRU.
The idea I suggested in LSF/MM is simple.

When we try to put back the page into lru list and if friends(prev, next) of the page
still is nearest neighbor, we can insert isolated page into prev's next instead of
head of LRU list. So it keeps LRU history without losing the LRU information.

Cc: KAMEZAWA Hiroyuki<kamezawa.hiroyu@xxxxxxxxxxxxxx>
Cc: KOSAKI Motohiro<kosaki.motohiro@xxxxxxxxxxxxxx>
Cc: Mel Gorman<mgorman@xxxxxxx>
Cc: Rik van Riel<riel@xxxxxxxxxx>
Cc: Andrea Arcangeli<aarcange@xxxxxxxxxx>
Signed-off-by: Minchan Kim<minchan.kim@xxxxxxxxx>

Looks reasonable.

Acked-by: Rik van Riel <riel@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/