Explorar o código

[PATCH] Increase nodemap hash.

Needed for some newer Opteron systems with E stepping and memory
relocation enabled. The node addresses are different in lower
bits now so the nodemap hash function needs to be enlarged.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Nakul Saraiya %!s(int64=19) %!d(string=hai) anos
pai
achega
f297e4e5e4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/asm-x86_64/mmzone.h

+ 1 - 1
include/asm-x86_64/mmzone.h

@@ -12,7 +12,7 @@
 
 
 #include <asm/smp.h>
 #include <asm/smp.h>
 
 
-#define NODEMAPSIZE 0xff
+#define NODEMAPSIZE 0xfff
 
 
 /* Simple perfect hash to map physical addresses to node numbers */
 /* Simple perfect hash to map physical addresses to node numbers */
 extern int memnode_shift; 
 extern int memnode_shift;