Re: [patch 1/13] minimal rmap

Rik van Riel (riel@conectiva.com.br)
Wed, 17 Jul 2002 16:41:01 -0300 (BRT)


On Wed, 17 Jul 2002, Daniel Phillips wrote:
> On Wednesday 17 July 2002 21:31, Rik van Riel wrote:
> > On Wed, 17 Jul 2002, Daniel Phillips wrote:
> > > On Wednesday 17 July 2002 07:29, Andrew Morton wrote:
> > > > 11: The nightly updatedb run is still evicting everything.
> > >
> > > That is not a problem with rmap per se, it's a result of not properly
> > > handling streaming IO.
> >
> > Umm, updatedb isn't exactly streaming...
>
> You're right, it's not exactly, it's hitting every directory entry on
^^^^^^^^^^^^^^^
> the system, hopefully just once. Let's not call it streaming, let's
> call it... err... use-once? ;-)

Nope. If it hits every directory entry once, it'll hit every
page with directory or inode information multiple times, causing
that page to enter the active list and push out process pages.

This is exactly what we want to prevent.

regards,

Rik

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

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

- 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/