Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751879AbXAXO7L (ORCPT ); Wed, 24 Jan 2007 09:59:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751890AbXAXO7L (ORCPT ); Wed, 24 Jan 2007 09:59:11 -0500 Received: from omx2-ext.sgi.com ([192.48.171.19]:58699 "EHLO omx2.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751879AbXAXO7K (ORCPT ); Wed, 24 Jan 2007 09:59:10 -0500 Date: Wed, 24 Jan 2007 06:56:59 -0800 (PST) From: Christoph Lameter To: Vaidyanathan Srinivasan cc: Aubrey Li , Nick Piggin , Robin Getz , "Henn, erich, Michael" , linux-mm@kvack.org, linux-kernel@vger.kernel.org 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: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 706 Lines: 18 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 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/