WSL2-Linux-Kernel/arch/x86_64/mm
Andi Kleen 1584b89c92 [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>
2006-01-11 19:04:51 -08:00
..
Makefile [PATCH] reorganize x86-64 NUMA and DISCONTIGMEM config options 2005-06-23 09:45:06 -07:00
extable.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fault.c [PATCH] x86_64: Adjust page fault handling 2006-01-11 19:01:11 -08:00
init.c [PATCH] x86/x86_64: mark rodata section read-only: x86-64 support 2006-01-06 08:33:36 -08:00
ioremap.c [PATCH] i386,amd64: ioremap.c __iomem annotations 2005-12-15 10:04:30 -08:00
k8topology.c [PATCH] x86_64: Make node boundaries consistent 2005-11-14 19:55:17 -08:00
numa.c [PATCH] x86_64: Bug correction in populate_memnodemap() 2005-12-12 22:31:16 -08:00
pageattr.c [PATCH] x86/x86_64: mark rodata section read only: generic x86-64 bugfix 2006-01-06 08:33:36 -08:00
srat.c [PATCH] x86_64: Validate SLIT table 2006-01-11 19:04:51 -08:00