mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
[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>
This commit is contained in:
parent
8bcc5280e6
commit
6fa679fdea
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue