x86/numa: Hard partition cpu topology masks on node boundaries
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 18 Apr 2012 17:04:09 +0000 (19:04 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 May 2012 11:28:59 +0000 (13:28 +0200)
commit0acbb440f06302058e1515861dd534594521e892
tree253d5cd412bc8b07ea9c83052ac3b7ece8b944f6
parent94c0dd3278dd3eae52eabf0fb77d472d0dd3e373
x86/numa: Hard partition cpu topology masks on node boundaries

When using numa=fake= you can get weird topologies where LLCs can span
nodes and other such nonsense. Cure this by hard partitioning these
masks on node boundaries.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Tejun Heo <tj@kernel.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: x86@kernel.org
Link: http://lkml.kernel.org/n/tip-di5vwjm96q5vrb76opwuflwx@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/smpboot.c