diff options
author | Andi Kleen <ak@suse.de> | 2006-04-18 12:35:16 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-18 19:39:19 +0200 |
commit | 6fa679fdea22cd96287d4aa11ee771bcd46c6dfb (patch) | |
tree | 42c96f5178c7c15ad4032918375ad097cf8ea0a1 /include | |
parent | [PATCH] x86_64: x86_64 add crashdump trigger points (diff) | |
download | linux-6fa679fdea22cd96287d4aa11ee771bcd46c6dfb.tar.xz linux-6fa679fdea22cd96287d4aa11ee771bcd46c6dfb.zip |
[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>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86_64/mmzone.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-x86_64/mmzone.h b/include/asm-x86_64/mmzone.h index 6b18cd8f293d..6944e7122df5 100644 --- a/include/asm-x86_64/mmzone.h +++ b/include/asm-x86_64/mmzone.h @@ -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 { |