Re: out_of_memory() heuristic broken for different mem configurations

From: Stephan von Krawczynski (skraw@ithnet.com)
Date: Tue Nov 06 2001 - 11:05:41 EST


On Tue, 6 Nov 2001 07:25:40 -0800 (PST) Linus Torvalds <torvalds@transmeta.com>
wrote:

> Note how you also go for seconds with no IO and no shrinking of the
> caches, while shrink_cache() is apparently happy (and no, it does not take
> several seconds to traverse even a 16GB inactive queue, there's something
> else going on)

Did you time it? There is a lot of things going on in the shrink_cache loop
including swap_out, wait_on_page, locks, ...
It's not really simple traversing of a queue.

-
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 : Wed Nov 07 2001 - 21:00:30 EST