diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2012-05-11 13:05:59 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-05-14 15:05:25 +0200 |
commit | 316ad248307fba13be40f01e92a22b89457c32bc (patch) | |
tree | 8c775a149310e267993648021f80a3b3c2fd8c44 /kernel/sched | |
parent | dd7d8634e619b715a537402672d1383535ff4c54 (diff) |
sched/x86: Rewrite set_cpu_sibling_map()
Commit ad7687dde ("x86/numa: Check for nonsensical topologies on real
hw as well") is broken in that the condition can trigger for valid
setups but only changes the end result for invalid setups with no real
means of discerning between those.
Rewrite set_cpu_sibling_map() to make the code clearer and make sure
to only warn when the check changes the end result.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-klcwahu3gx467uhfiqjyhdcs@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched')
0 files changed, 0 insertions, 0 deletions