Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] x86_64: Increase NUMA hash function nodemap

Needed for some big Opteron systems to compute a numa hash function
They have more than 12 bits significant address.

TBD switch this over to dynamic allocation or use better hash

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Andi Kleen and committed by
Linus Torvalds
6fa679fd 8bcc5280

+2 -1
+2 -1
include/asm-x86_64/mmzone.h
··· 12 12 13 13 #include <asm/smp.h> 14 14 15 - #define NODEMAPSIZE 0xfff 15 + /* Should really switch to dynamic allocation at some point */ 16 + #define NODEMAPSIZE 0x4fff 16 17 17 18 /* Simple perfect hash to map physical addresses to node numbers */ 18 19 struct memnode {