Re: invalidate_inode_pages in 2.5.32/3

Rik van Riel (riel@conectiva.com.br)
Wed, 11 Sep 2002 13:18:29 -0300 (BRT)


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

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/