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

Rik van Riel
2007-03-15T15:02:12Z

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.