Re: out_of_memory() heuristic broken for different mem configurations

Stephan von Krawczynski (skraw@ithnet.com)
Tue, 6 Nov 2001 17:05:41 +0100


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/