Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 6 Nov 2001 11:08:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 6 Nov 2001 11:08:24 -0500 Received: from ns.ithnet.com ([217.64.64.10]:50693 "HELO heather.ithnet.com") by vger.kernel.org with SMTP id ; Tue, 6 Nov 2001 11:08:11 -0500 Date: Tue, 6 Nov 2001 17:05:41 +0100 From: Stephan von Krawczynski To: Linus Torvalds Cc: marcelo@conectiva.com.br, andrea@suse.de, linux-kernel@vger.kernel.org Subject: Re: out_of_memory() heuristic broken for different mem configurations Message-Id: <20011106170541.7c06a383.skraw@ithnet.com> In-Reply-To: In-Reply-To: Organization: ith Kommunikationstechnik GmbH X-Mailer: Sylpheed version 0.6.4 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 6 Nov 2001 07:25:40 -0800 (PST) Linus Torvalds 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/