Re: invalidate_inode_pages in 2.5.32/3

From: Rik van Riel (riel@conectiva.com.br)
Date: Wed Sep 11 2002 - 11:18:29 EST


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/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:25 EST