Re: [PATCH] x86: move init_cpu_to_node after get_smp_config

From: Ingo Molnar
Date: Thu Jul 03 2008 - 09:55:02 EST



* Yinghai Lu <yhlu.kernel@xxxxxxxxx> wrote:

> when acpi=off, cpu_to_apicid is ready after get_smp_config so need to
> move init_cpu_to_node after it.
>
> otherwise, we will get wrong cpu->node mapping. and it will rely on
> amd_detect_cmp to correct it. but that is too late. setup_per_cpu_data
> is already called before that. we will get per_cpu_data on wrong node.

applied to tip/x86/unify-setup - thanks Yinghai,

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/