Re: [PATCH 0/3] x86: adapt CPU topology detection for AMD Magny-Cours

From: Andi Kleen
Date: Mon May 04 2009 - 16:16:33 EST


Andreas Herrmann <andreas.herrmann3@xxxxxxx> writes:

> Following patches add support for AMD Magny-Cours CPU.
>
> I slightly change struct cpuinfo where I'd like to introduce
> cpu_node_id to reflect CPU topology for AMD Magny-Cours CPU which
> consists of two internal-nodes.

It's unclear to me why you need this special case versus
just using the normal NUMA distances to represent the internal
nodes as "nearby nodes" versus sockets as "farer away".

Essentially it should be just two level NUMA which can be already
described fine for the scheduler or VM using the existing SRAT
mechanism.

Who needs this additional information?

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/