[SRU][Utopic][PATCH 0/1] sched/x86: Fix up typo in topology detection

Joseph Salisbury joseph.salisbury at canonical.com
Wed Dec 10 18:13:15 UTC 2014


BugLink: http://bugs.launchpad.net/bugs/1386473

== Utopic SRU Justification ==
Utopic has the following SAUCE commit:

commit 8ee41919feea10de065e3102de4cbf0c57fc60ea
Author: Dave Hansen <dave.hansen at linux.intel.com>
Date: Thu Sep 18 12:33:34 2014 -0700

    UBUNTU: SAUCE: x86, sched: Add new topology for multi-NUMA-node CPUs

Which is upstream commit: cebf15eb(Added in 3.18-rc1).

The SAUCE commit adds this line, which is what causes this bug:
 if (match_die(c, o) == !topology_same_node(c, o))

Commit 728e565 fixes this bug by changing the line to:
 if (match_die(c, o) && !topology_same_node(c, o))    

This bug does not exist in upstream 3.16 because it does not have the SAUCE commit and upstream commit cebf15eb was not sent to stable.  

== Fix ==
commit 728e5653e6fdb2a0892e94a600aef8c9a036c7eb
Author: Dave Hansen <dave.hansen at linux.intel.com>
Date:   Tue Sep 30 14:45:46 2014 -0700

    sched/x86: Fix up typo in topology detection


== Test Case ==
A test kernel was built with this patch and tested by the original bug reporter.  The bug reporter states the test kernel resolved the bug.


Dave Hansen (1):
  sched/x86: Fix up typo in topology detection

 arch/x86/kernel/smpboot.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.7.9.5





More information about the kernel-team mailing list