Re: [PATCH 1/1] x86: fix early cpu_to_node panic from nr_free_zone_pages

Ingo Molnar
2008-01-22T11:23:24Z

* travis@sgi.com <travis@sgi.com> wrote:

> An early call to nr_free_zone_pages() calls numa_node_id() which
> needs to call early_cpu_to_node() since per_cpu(cpu_to_node_map)
> might not be setup yet.
>
> I also had to export x86_cpu_to_node_map_early_ptr because of some
> calls from the network code to numa_node_id():
>
> net/ipv4/netfilter/arp_tables.c:
> net/ipv4/netfilter/ip_tables.c:
> net/ipv4/netfilter/ip_tables.c:
>
> Applies to both:
>
> 2.6.24-rc8-mm1
> 2.6.24-rc8-mm1 + latest (08/01/21) git-x86 patch

thanks, applied.

Ingo