From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with ESMTP id 109B68D003B for ; Tue, 12 Apr 2011 02:45:22 -0400 (EDT) Received: from m3.gw.fujitsu.co.jp (unknown [10.0.50.73]) by fgwmail6.fujitsu.co.jp (Postfix) with ESMTP id DBDE53EE0BD for ; Tue, 12 Apr 2011 15:45:12 +0900 (JST) Received: from smail (m3 [127.0.0.1]) by outgoing.m3.gw.fujitsu.co.jp (Postfix) with ESMTP id BDAB545DE95 for ; Tue, 12 Apr 2011 15:45:12 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (s3.gw.fujitsu.co.jp [10.0.50.93]) by m3.gw.fujitsu.co.jp (Postfix) with ESMTP id A3FAB45DE74 for ; Tue, 12 Apr 2011 15:45:12 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 7FA39E0800D for ; Tue, 12 Apr 2011 15:45:12 +0900 (JST) Received: from m107.s.css.fujitsu.com (m107.s.css.fujitsu.com [10.240.81.147]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 13492E08005 for ; Tue, 12 Apr 2011 15:45:12 +0900 (JST) Date: Tue, 12 Apr 2011 15:38:37 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [PATCH 1/3] mm, mem-hotplug: fix section mismatch. setup_per_zone_inactive_ratio() should be __meminit. Message-Id: <20110412153837.ea0f3f04.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20110411170033.0356.A69D9226@jp.fujitsu.com> References: <20110411165957.0352.A69D9226@jp.fujitsu.com> <20110411170033.0356.A69D9226@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: KOSAKI Motohiro Cc: linux-mm , LKML , Andrew Morton , Minchan Kim , Yasunori Goto , Rik van Riel , Johannes Weiner , Mel Gorman , Christoph Lameter On Mon, 11 Apr 2011 17:00:08 +0900 (JST) KOSAKI Motohiro wrote: > Commit bce7394a3e (page-allocator: reset wmark_min and inactive ratio of > zone when hotplug happens) introduced invalid section references. > Now, setup_per_zone_inactive_ratio() is marked __init and then it can't > be referenced from memory hotplug code. > > Then, this patch marks it as __meminit and also marks caller as __ref. > > Signed-off-by: KOSAKI Motohiro > Cc: Minchan Kim > Cc: Yasunori Goto > Cc: Rik van Riel > Cc: Johannes Weiner Reviewed-by: KAMEZAWA Hiroyuki -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org