Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932101Ab1DLGpS (ORCPT ); Tue, 12 Apr 2011 02:45:18 -0400 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:47371 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756619Ab1DLGpQ (ORCPT ); Tue, 12 Apr 2011 02:45:16 -0400 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Date: Tue, 12 Apr 2011 15:38:37 +0900 From: KAMEZAWA Hiroyuki To: KOSAKI Motohiro Cc: linux-mm , LKML , Andrew Morton , Minchan Kim , Yasunori Goto , Rik van Riel , Johannes Weiner , Mel Gorman , Christoph Lameter 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> Organization: FUJITSU Co. LTD. X-Mailer: Sylpheed 3.1.0 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 980 Lines: 24 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 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/