]> Git Repo - linux.git/commitdiff
[PATCH] x86_64: Increase NUMA hash function nodemap
authorAndi Kleen <[email protected]>
Tue, 18 Apr 2006 10:35:16 +0000 (12:35 +0200)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
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 {
This page took 0.057568 seconds and 4 git commands to generate.