[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 11 Nov 2010 14:09:46 +0200
From: Pekka Enberg <penberg@...nel.org>
To: Tejun Heo <tj@...nel.org>
Cc: linux-kernel@...r.kernel.org, mingo@...hat.com, tglx@...utronix.de,
hpa@...or.com, x86@...nel.org, eric.dumazet@...il.com,
yinghai@...nel.org
Subject: Re: [PATCH 9/9] x86: Unify NUMA initialization between 32 and 64bit
On Thu, Nov 11, 2010 at 1:02 PM, Tejun Heo <tj@...nel.org> wrote:
> Now that everything else is unified, NUMA initialization can be
> unified too.
>
> * numa_init_array() and init_cpu_to_node() are moved from numa_64 to
> numa.
>
> * numa_32::initmem_init() is updated to call numa_init_array() and
> setup_arch() to call init_cpu_to_node() on 32bit too.
>
> * x86_cpu_to_node_map is now initialized to NUMA_NO_NODE on 32bit too.
> This is safe now as numa_init_array() will initialize it early
> during boot.
>
> This makes NUMA mapping fully initialized before setup_per_cpu_areas()
> on 32bit too and thus makes the first percpu chunk which contains all
> the static variables and some of dynamic area allocated with NUMA
> affinity correctly considered.
>
> Signed-off-by: Tejun Heo <tj@...nel.org>
> Reported-by: Eric Dumazet <eric.dumazet@...il.com>
Acked-by: Pekka Enberg <penberg@...nel.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists