Re: [RFC] start_aggressive_readahead
From: Rik van Riel <hidden>
Date: 2002-07-29 00:19:16
On Sun, 28 Jul 2002, Scott Kaplan wrote:
quoted
- We no longer put readahead pages on the active list. They are placed on the head of the inactive list. If nobody subsequently uses the page, it proceeds to the tail of the inactive list and is evicted.This seems a wise move, as placing them in the active list is only going to be beneficial in some very unusual cases.
I'm not sure about that. If we do linear IO we most likely want to evict the pages we've already used as opposed to the pages we're about to use. This means that (1) we want to clear the accessed bit of the pages we've already read, moving them to the inactive list if needed and (2) we'll want to keep the about-to-be-used pages separate from the already-used pages. regards, Rik -- Bravely reimplemented by the knights who say "NIH". http://www.surriel.com/ http://distro.conectiva.com/ -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/