Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262829AbTHURGi (ORCPT ); Thu, 21 Aug 2003 13:06:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262828AbTHURGW (ORCPT ); Thu, 21 Aug 2003 13:06:22 -0400 Received: from natsmtp01.webmailer.de ([192.67.198.81]:10656 "EHLO post.webmailer.de") by vger.kernel.org with ESMTP id S262806AbTHURFs (ORCPT ); Thu, 21 Aug 2003 13:05:48 -0400 Message-ID: <3F449674.2040102@softhome.net> Date: Thu, 21 Aug 2003 11:52:52 +0200 From: "Ihar 'Philips' Filipau" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Takao Indoh CC: Linux Kernel Mailing List Subject: Re: cache limit References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 880 Lines: 23 Takao Indoh wrote: > > I made a patch to add new paramter /proc/sys/vm/pgcache-max. It controls > maximum number of pages used as pagecache. > An attached file is a mere test patch, so it may contain a bug or ugly > code. Please let me know if there is an advice, comment, better > implementation, and so on. > Do you have something like this for 2.4 kernels? [ I expected to find that by default Linux stops polluting memory with cache when there is no more pages. But as I see your patch is hacking something somewhere in the middle... But I'm not a specialist in VM... Gone reading sources. ] Thanks for the patch. - 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/