Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 22 Oct 2002 12:27:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 22 Oct 2002 12:27:53 -0400 Received: from perninha.conectiva.com.br ([200.250.58.156]:39614 "EHLO perninha.conectiva.com.br") by vger.kernel.org with ESMTP id ; Tue, 22 Oct 2002 12:27:53 -0400 Date: Tue, 22 Oct 2002 14:33:48 -0200 (BRST) From: Rik van Riel X-X-Sender: riel@duckman.distro.conectiva To: Andrew Morton Cc: "Martin J. Bligh" , linux-kernel , linux-mm mailing list Subject: Re: ZONE_NORMAL exhaustion (dcache slab) In-Reply-To: <3DB4855F.D5DA002E@digeo.com> Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: aardvark@nl.linux.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 845 Lines: 28 On Mon, 21 Oct 2002, Andrew Morton wrote: > He had 3 million dentries and only 100k pages on the LRU, > so we should have been reclaiming 60 dentries per scanned > page. > > Conceivably the multiply in shrink_slab() overflowed, where > we calculate local variable `delta'. But doubtful. What if there were no pages left to scan for shrink_caches ? Could it be possible that for some strange reason the machine ended up scanning 0 slab objects ? 60 * 0 is still 0, after all ;) Rik -- A: No. Q: Should I include quotations after my reply? http://www.surriel.com/ http://distro.conectiva.com/ - 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/