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