]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] x86_64: Increase NUMA hash function nodemap
authorAndi Kleen <ak@suse.de>
Tue, 18 Apr 2006 10:35:16 +0000 (12:35 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 18 Apr 2006 17:39:19 +0000 (10:39 -0700)
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>
include/asm-x86_64/mmzone.h

index 6b18cd8f293d731d4908e52799131e1ff3bcc645..6944e7122df5194c767217444a993a90db3d6ede 100644 (file)
@@ -12,7 +12,8 @@
 
 #include <asm/smp.h>
 
-#define NODEMAPSIZE 0xfff
+/* Should really switch to dynamic allocation at some point */
+#define NODEMAPSIZE 0x4fff
 
 /* Simple perfect hash to map physical addresses to node numbers */
 struct memnode {