Re: [patch] mm: speedup in __early_pfn_to_nid

From: Andrew Morton
Date: Mon Mar 25 2013 - 18:42:48 EST


On Mon, 25 Mar 2013 15:36:54 -0700 (PDT) David Rientjes <rientjes@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/