Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933718Ab3CYWmp (ORCPT ); Mon, 25 Mar 2013 18:42:45 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:42760 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932570Ab3CYWmo (ORCPT ); Mon, 25 Mar 2013 18:42:44 -0400 Date: Mon, 25 Mar 2013 15:42:42 -0700 From: Andrew Morton To: David Rientjes Cc: KOSAKI Motohiro , Russ Anderson , Ingo Molnar , "linux-mm@kvack.org" , LKML , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Subject: Re: [patch] mm: speedup in __early_pfn_to_nid Message-Id: <20130325154242.e1171876a3854c4633436658@linux-foundation.org> In-Reply-To: References: <20130318155619.GA18828@sgi.com> <20130321105516.GC18484@gmail.com> <20130322072532.GC10608@gmail.com> <20130323152948.GA3036@sgi.com> <20130325143400.d226b1f7b64a209b86dd4151@linux-foundation.org> X-Mailer: Sylpheed 3.2.0beta5 (GTK+ 2.24.10; x86_64-pc-linux-gnu) 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: 698 Lines: 21 On Mon, 25 Mar 2013 15:36:54 -0700 (PDT) David Rientjes wrote: > On Mon, 25 Mar 2013, Andrew Morton wrote: > > > > Um, defining them in a __meminit function places them in .meminit.data > > > already. > > > > I wish it did, but it doesn't. > > > > $ objdump -t mm/page_alloc.o | grep last_start_pfn > 0000000000000240 l O .meminit.data 0000000000000008 last_start_pfn.34345 > > What version of gcc are you using? 4.4.4 -- 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/