Re: 2.4.11pre4 swapping out all over the place

From: Tobias Ringstrom (tori@ringstrom.mine.nu)
Date: Sat Oct 06 2001 - 12:49:55 EST


On Sat, 6 Oct 2001, Linus Torvalds wrote:

> On Sat, 6 Oct 2001, Tobias Ringstrom wrote:
> >
> > I can confirm that in 2.4.11-pre4, the used-once pages are causing
> > page-out activity, as opposed to 2.4.11-pre2 which did not.
>
> Yeah, try_to_free_pages() gives up much too early: Marcelo removed the
> loop from it. That also shows the problems with the out_of_memory() logic
> much more easily.
>
> Can you try just undoing the changes to try_to_free_pages() itself?

Sure, replacing try_to_free_pages() in 2.4.11-pre4 with the one in
2.4.11-pre3 solves the problem.

/Tobias

-
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 Oct 07 2001 - 21:00:42 EST