Thread (23 messages) 23 messages, 9 authors, 2002-08-05

Re: [RFC] start_aggressive_readahead

From: Andrew Morton <hidden>
Date: 2002-07-25 19:40:24

Rik van Riel wrote:
On Thu, 25 Jul 2002, Christoph Hellwig wrote:
quoted
This function (start_aggressive_readahead()) checks whether all zones
of the given gfp mask have lots of free pages.
Seems a bit silly since ideally we wouldn't reclaim cache memory
until we're low on physical memory.
Yes, I would question its worth also.


What it boils down to is:  which pages are we, in the immediate future,
more likely to use?  Pages which are at the tail of the inactive list,
or pages which are in the file's readahead window?

I'd say the latter, so readahead should just go and do reclaim.

-
--
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help