From mboxrd@z Thu Jan 1 00:00:00 1970 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 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. From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <45B835FE.6030107@redhat.com> Date: Wed, 24 Jan 2007 23:45:50 -0500 From: Rik van Riel MIME-Version: 1.0 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: owner-linux-mm@kvack.org Return-Path: To: Vaidyanathan Srinivasan Cc: Christoph Lameter , Aubrey Li , Nick Piggin , Robin Getz , "Henn, erich, Michael" , linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: 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, 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