Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754090Ab0KAHHO (ORCPT ); Mon, 1 Nov 2010 03:07:14 -0400 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:36234 "EHLO fgwmail5.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753806Ab0KAHHI (ORCPT ); Mon, 1 Nov 2010 03:07:08 -0400 Date: Mon, 1 Nov 2010 16:06:22 +0900 (JST) X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 From: KOSAKI Motohiro To: David Rientjes Subject: Re: [PATCH 1/2] mm, mem-hotplug: recalculate lowmem_reserve when memory hotplug occur Cc: kosaki.motohiro@jp.fujitsu.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , KAMEZAWA Hiroyuki , Mel Gorman , Christoph Lameter In-Reply-To: References: <20101026221017.B7DF.A69D9226@jp.fujitsu.com> Message-Id: <20101101030021.6077.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-2022-JP" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.50.07 [ja] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1012 Lines: 32 > On Tue, 26 Oct 2010, KOSAKI Motohiro wrote: > > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > > index b48dea2..14ee899 100644 > > --- a/mm/page_alloc.c > > +++ b/mm/page_alloc.c > > @@ -5002,7 +5002,7 @@ static void __init setup_per_zone_inactive_ratio(void) > > * 8192MB: 11584k > > * 16384MB: 16384k > > */ > > -static int __init init_per_zone_wmark_min(void) > > +int __meminit init_per_zone_wmark_min(void) > > { > > unsigned long lowmem_kbytes; > > > > setup_per_zone_inactive_ratio() should be moved from __init to __meminit, > right? Right. You are pointing out very old issue. I don't know why old code worked. but we certainly need to fix it. Thank you. I'll prepare another incremental patch because this is another issue. Thanks. -- 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/