Re: Inclusion of zoned inactive/free shortage patch

Rik van Riel (riel@conectiva.com.br)
Wed, 18 Jul 2001 10:27:48 -0300 (BRST)


On Tue, 17 Jul 2001, Linus Torvalds wrote:

> In that case, what's the argument for not just replacing the zone
> parameter with
>
> /* If we have enough free pages in this zone, don't bother */
> if (page->zone->nrpages > page->zone->high)
> return;

> Comments?

Won't work. If it did, it'd just bring us back to the
pathetic situation we had in 2.3.51, but with the
introduction of inactive_clean pages and an inactive
target all this test would do is either preventing
us from ever making the inactive target or from getting
the eviction balancing between zones right (see 2.3.51).

regards,

Rik

--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

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

Send all your spam to aardvark@nl.linux.org (spam digging piggy)

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