Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964805AbVLBCg6 (ORCPT ); Thu, 1 Dec 2005 21:36:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964806AbVLBCg6 (ORCPT ); Thu, 1 Dec 2005 21:36:58 -0500 Received: from ns.ustc.edu.cn ([202.38.64.1]:45798 "EHLO mx1.ustc.edu.cn") by vger.kernel.org with ESMTP id S964805AbVLBCg5 (ORCPT ); Thu, 1 Dec 2005 21:36:57 -0500 Date: Fri, 2 Dec 2005 10:37:27 +0800 From: Wu Fengguang To: Andrea Arcangeli Cc: Andrew Morton , marcelo.tosatti@cyclades.com, linux-kernel@vger.kernel.org, christoph@lameter.com, riel@redhat.com, a.p.zijlstra@chello.nl, npiggin@suse.de, magnus.damm@gmail.com Subject: Re: [PATCH 02/12] mm: supporting variables and functions for balanced zone aging Message-ID: <20051202023727.GA4874@mail.ustc.edu.cn> Mail-Followup-To: Wu Fengguang , Andrea Arcangeli , Andrew Morton , marcelo.tosatti@cyclades.com, linux-kernel@vger.kernel.org, christoph@lameter.com, riel@redhat.com, a.p.zijlstra@chello.nl, npiggin@suse.de, magnus.damm@gmail.com References: <20051201101810.837245000@localhost.localdomain> <20051201101933.936973000@localhost.localdomain> <20051201023714.612f0bbf.akpm@osdl.org> <20051201222846.GA3646@dmt.cnet> <20051201150349.3538638e.akpm@osdl.org> <20051202011924.GA3516@mail.ustc.edu.cn> <20051201173015.675f4d80.akpm@osdl.org> <20051202020407.GA4445@mail.ustc.edu.cn> <20051202021811.GB28539@opteron.random> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051202021811.GB28539@opteron.random> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1044 Lines: 23 On Fri, Dec 02, 2005 at 03:18:11AM +0100, Andrea Arcangeli wrote: > On Fri, Dec 02, 2005 at 10:04:07AM +0800, Wu Fengguang wrote: > > btw, maybe it's time to lower the low_mem_reserve. > > There should be no need to keep ~50M free memory with the balancing patch. > > low_mem_reserve is indipendent from shrink_cache, because shrink_cache can't > free unfreeable pinned memory. > > If you want to remove low_mem_reserve you'd better start by adding > migration of memory across the zones with pte updates etc... That would > at least mitigate the effect of anonymous memory w/o swap. But > low_mem_reserve is still needed for all other kind of allocations like > kmalloc or pci_alloc_consistent (i.e. not relocatable) etc... Thanks for the clarification, I was concerning too much ;) Regards, Wu - 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/