Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933226AbXAYEx4 (ORCPT ); Wed, 24 Jan 2007 23:53:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933230AbXAYEx4 (ORCPT ); Wed, 24 Jan 2007 23:53:56 -0500 Received: from mx1.redhat.com ([66.187.233.31]:46844 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933226AbXAYExz (ORCPT ); Wed, 24 Jan 2007 23:53:55 -0500 Message-ID: <45B835FE.6030107@redhat.com> Date: Wed, 24 Jan 2007 23:45:50 -0500 From: Rik van Riel Organization: Red Hat, Inc User-Agent: Thunderbird 1.5.0.7 (X11/20061008) MIME-Version: 1.0 To: Vaidyanathan Srinivasan CC: Christoph Lameter , 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 References: <45B75208.90208@linux.vnet.ibm.com> <45B82F41.9040705@linux.vnet.ibm.com> In-Reply-To: <45B82F41.9040705@linux.vnet.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 863 Lines: 22 Vaidyanathan Srinivasan wrote: > In my opinion, once a > file page is mapped by the process, then it should be treated at par > with anon pages. Application programs generally do not mmap a file > page if the reuse for the content is very low. Why not have the VM measure this, instead of making wild assumptions about every possible workload out there? There are a few databases out there that mmap the whole thing. Sleepycat for one... -- Politics is the struggle between those who want to make their country the best in the world, and those who believe it already is. Each group calls the other unpatriotic. - 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/