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

From: Ingo Molnar
Date: Tue Jan 22 2008 - 06:23:27 EST



* travis@xxxxxxx <travis@xxxxxxx> 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
--
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/