Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932379AbXAVTRE (ORCPT ); Mon, 22 Jan 2007 14:17:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932389AbXAVTRD (ORCPT ); Mon, 22 Jan 2007 14:17:03 -0500 Received: from omx2-ext.sgi.com ([192.48.171.19]:45541 "EHLO omx2.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932379AbXAVTRB (ORCPT ); Mon, 22 Jan 2007 14:17:01 -0500 Date: Mon, 22 Jan 2007 11:15:46 -0800 (PST) From: Christoph Lameter To: Nick Piggin cc: Aubrey Li , Vaidyanathan Srinivasan , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Linus Torvalds , Andrew Morton , "linux-os (Dick Johnson)" , Robin Getz , "Hennerich, Michael" Subject: Re: [RPC][PATCH 2.6.20-rc5] limit total vfs page cache In-Reply-To: <45B19483.6010300@yahoo.com.au> Message-ID: References: <6d6a94c50701171923g48c8652ayd281a10d1cb5dd95@mail.gmail.com> <45B0DB45.4070004@linux.vnet.ibm.com> <6d6a94c50701190805saa0c7bbgbc59d2251bed8537@mail.gmail.com> <45B112B6.9060806@linux.vnet.ibm.com> <6d6a94c50701191804m79c70afdo1e664a072f928b9e@mail.gmail.com> <45B17D6D.2030004@yahoo.com.au> <6d6a94c50701191908i63fe7eebi9a97a4afb94f5df4@mail.gmail.com> <45B19483.6010300@yahoo.com.au> 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: 679 Lines: 17 On Sat, 20 Jan 2007, Nick Piggin wrote: > > It doesn't reduce the amount of memory available to the system. It > > just reduce the amount of memory available to the page cache. So that > > page cache is limited and the reserved memory can be allocated by the > > application. > > But the patch doesn't do that, as I explained. The patch could do it if he would be checking NR_FILE_PAGES against a limit instead of the free pages. - 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/