Re: [PATCH] mm/filemap.c: unconditionally call mark_page_accessed

From: Rik van Riel
Date: Thu Mar 15 2007 - 11:02:29 EST


Andreas Mohr wrote:

I've been thinking hard how to avoid the mark_page_accessed() starvation in
case of a fixed, (almost) non-changing access state, but this seems hard since
it'd seem we need some kind of state management here to figure out good
intervals of when to call mark_page_accessed() *again* for this page.

Like this? :)

http://surriel.com/patches/clockpro/2.6.12/useonce-cleanup

--
Politics is the struggle between those who want to make their country
the best in the world, and those who believe it already is. Each group
calls the other unpatriotic.
-
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/