summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-01-12 00:43:42 +0300
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 06:04:51 +0300
commit1584b89c921acefe88881f08d836d80f00600a84 (patch)
tree112d64a284488f490045b19aa910bb1b2abcbff4 /include/video
parent7a4a76cc1057de0dc96ee481590347aa8c5b9ffb (diff)
downloadlinux-1584b89c921acefe88881f08d836d80f00600a84.tar.xz
[PATCH] x86_64: Validate SLIT table
A lot of Opteron BIOS just pass 10 in all SLIT entries (10 is the normalized unit). This is actually worse than the default heuristic because it leads to pci_distance not knowing the difference between local and remote nodes anymore. This messes up some NUMA heuristics in generic code. In this case it's better to fall back to the default heuristic which just does nodea == nodeb ? 10 : 20. This patch does some basic sanity checking on the SLIT and only accepts the SLIT when it passes. Invariants enforced are: - Node to itself shall be 10 - Any other distance shouldn't be 10 - Distances smaller than 10 are illegal Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/video')
0 files changed, 0 insertions, 0 deletions