提交 f297e4e5 编写于 作者: N Nakul Saraiya 提交者: Linus Torvalds

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