Re: MM patches against 2.5.31

Andrew Morton
2002-08-27T04:37:41Z

Benjamin LaHaise wrote:
>
> On Mon, Aug 26, 2002 at 02:31:57PM -0700, Andrew Morton wrote:
> > I like the magical-removal-just-before-free, and my gut feel is that
> > it'll provide a cleaner end result.
>
> For the record, I'd rather see explicite removal everwhere. We received
> a number of complaints along the lines of "I run my app immediately after
> system startup, and it's fast, but the second time it's slower" due to
> the lazy page reclaim in early 2.4. Until there's a way to make LRU
> scanning faster than page allocation, it can't be lazy.
>

I think that's what Rik was referring to.

But here, "explicit removal" refers to running lru_cache_del() prior
to the final put_page, rather than within the context of the final
put_page. So it's a different thing.