From: Rik van Riel on
On 02/23/2010 10:10 PM, Wu Fengguang wrote:
> From: Chris Frost<frost(a)cs.ucla.edu>
>
> Ensure that cached pages in the inactive list are not prematurely evicted;
> move such pages to lru head when they are covered by
> - in-kernel heuristic readahead
> - an posix_fadvise(POSIX_FADV_WILLNEED) hint from an application

> Signed-off-by: Chris Frost<frost(a)cs.ucla.edu>
> Signed-off-by: Steve VanDeBogart<vandebo(a)cs.ucla.edu>
> Signed-off-by: KAMEZAWA Hiroyuki<kamezawa.hiroyu(a)jp.fujitsu.com>
> Signed-off-by: Wu Fengguang<fengguang.wu(a)intel.com>

Acked-by: Rik van Riel <riel(a)redhat.com>

When we get into the situation where readahead thrashing
would occur, we will end up evicting other stuff more
quickly from the inactive file list. However, that will
be the case either with or without this code...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/