Re: invalidate_inode_pages in 2.5.32/3

Rik van Riel
2002-09-11T16:17:19Z

On Tue, 10 Sep 2002, Andrew Morton wrote:

> We _could_ walk the pte chain in writeback. But that would involve
> visiting every page in the mapping, basically. That could hurt.
>
> But if a page is already dirty, and we're going to write it anyway,
> it makes tons of sense to run around and clean all the ptes which
> point at it.

Walking ptes probably doesn't hurt as much as doing extra
disk IO, so I guess you're right ;)

Rik
--
Bravely reimplemented by the knights who say "NIH".

http://www.surriel.com/ http://distro.conectiva.com/

Spamtraps of the month: september@surriel.com trac@trac.org