Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264315AbUACW4B (ORCPT ); Sat, 3 Jan 2004 17:56:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264318AbUACW4B (ORCPT ); Sat, 3 Jan 2004 17:56:01 -0500 Received: from fw.osdl.org ([65.172.181.6]:52155 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S264315AbUACWz7 (ORCPT ); Sat, 3 Jan 2004 17:55:59 -0500 Date: Sat, 3 Jan 2004 14:55:57 -0800 From: Andrew Morton To: John Lash Cc: alex.buell@munted.org.uk, linux-kernel@vger.kernel.org Subject: Re: inode_cache / dentry_cache not being reclaimed aggressively enough on low-memory PCs Message-Id: <20040103145557.369a12c4.akpm@osdl.org> In-Reply-To: <20040103103023.77bf91b5.jlash@speakeasy.net> References: <20040103103023.77bf91b5.jlash@speakeasy.net> X-Mailer: Sylpheed version 0.9.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 Content-Length: 611 Lines: 13 John Lash wrote: > > As it stands, it will maintain as many unused entries as there are used entries. > If this low memory system las a large, stable, number of inuse dentry objects, > the unused entries will match it thereby holding double the memory and possibly > causing the problem you see. Yup. There is a fix in 2.6.1-rc1 for this. - 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/