Re: [patch 1/3] x86_64: Node local PDA -- early cpu_to_node

From: Andi Kleen
Date: Fri Dec 02 2005 - 06:43:11 EST


> +#ifdef CONFIG_ACPI_NUMA
> + /*
> + * Setup cpu_to_node using the SRAT lapcis & ACPI MADT table
> + * info.
> + */
> + for (i = 0; i < NR_CPUS; i++)
> + cpu_to_node[i] = apicid_to_node[x86_cpu_to_apicid[i]];
> +#endif

This should be in a separate function in srat.c.

And are you sure it will work with k8topology.c. Doesn't look like
that to me.

-Andi
-
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/