From 316ad248307fba13be40f01e92a22b89457c32bc Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 11 May 2012 13:05:59 +0200 Subject: [PATCH] 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 Link: http://lkml.kernel.org/n/tip-klcwahu3gx467uhfiqjyhdcs@git.kernel.org Signed-off-by: Ingo Molnar --- Reading git-format-patch failed