Re: [PATCH] x86: new topology for multi-NUMA-node CPUs
From: Dave Hansen
Date: Thu Sep 18 2014 - 17:57:44 EST
On 09/18/2014 12:33 PM, Dave Hansen wrote:
> @@ -410,6 +442,8 @@ void set_cpu_sibling_map(int cpu)
> } else if (i != cpu && !c->booted_cores)
> c->booted_cores = cpu_data(i).booted_cores;
> }
> + if (match_mc(c, o) == !topology_same_node(c, o))
> + primarily_use_numa_for_topology();
> }
> }
I went to test this on some more systems. The "== !" above should be a
"!=". The test is meant to see if a CPU pair is in the same mc group,
but not in the same node.
I'll fix it in the next version.
--
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/