提交 6fa679fd 编写于 作者: A Andi Kleen 提交者: Linus Torvalds

[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: NAndi Kleen <ak@suse.de>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 8bcc5280
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册