aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorDave Hansen <[email protected]>2014-09-30 14:45:46 -0700
committerIngo Molnar <[email protected]>2014-10-03 05:46:52 +0200
commit728e5653e6fdb2a0892e94a600aef8c9a036c7eb (patch)
treebb71ced94543500b38e2591e5d451cb66b2f7d4f /net/lapb/lapb_subr.c
parentcebf15eb09a2fd2fa73ee4faa9c4d2f813cf0f09 (diff)
sched/x86: Fix up typo in topology detection
Commit: cebf15eb09a2 ("x86, sched: Add new topology for multi-NUMA-node CPUs") some code to try to detect the situation where we have a NUMA node inside of the "DIE" sched domain. It detected this by looking for cpus which match_die() but do not match NUMA nodes via topology_same_node(). I wrote it up as: if (match_die(c, o) == !topology_same_node(c, o)) which actually seemed to work some of the time, albiet accidentally. It should have been doing an &&, not an ==. This code essentially chopped off the "DIE" domain on one of Andrew Morton's systems. He reported that this patch fixed his issue. Signed-off-by: Dave Hansen <[email protected]> Reported-by: Andrew Morton <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Andrew Morton <[email protected]> Cc: David Rientjes <[email protected]> Cc: Igor Mammedov <[email protected]> Cc: Jan Kiszka <[email protected]> Cc: Lan Tianyu <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Prarit Bhargava <[email protected]> Cc: Toshi Kani <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions