[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <541B5553.8070206@sr71.net>
Date: Thu, 18 Sep 2014 14:57:39 -0700
From: Dave Hansen <dave@...1.net>
To: linux-kernel@...r.kernel.org
CC: dave.hansen@...ux.intel.com, a.p.zijlstra@...llo.nl,
mingo@...nel.org, hpa@...ux.intel.com, brice.goglin@...il.com,
bp@...en8.de
Subject: Re: [PATCH] x86: new topology for multi-NUMA-node CPUs
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@...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