From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 24 Jan 2007 06:56:59 -0800 (PST) From: Christoph Lameter Subject: Re: [RFC] Limit the size of the pagecache In-Reply-To: <45B75208.90208@linux.vnet.ibm.com> Message-ID: References: <45B75208.90208@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Vaidyanathan Srinivasan Cc: Aubrey Li , Nick Piggin , Robin Getz , "Henn, erich, Michael" , linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: On Wed, 24 Jan 2007, Vaidyanathan Srinivasan wrote: > With your patch, MMAP of a file that will cross the pagecache limit hangs the > system. As I mentioned in my previous mail, without subtracting the > NR_FILE_MAPPED, the reclaim will infinitely try and fail. Well mapped pages are still pagecache pages. > I have tested your patch with the attached fix on my PPC64 box. Interesting. What is your reason for wanting to limit the size of the pagecache? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org