kernel-ark/arch
Eric Dumazet 529a340402 [PATCH] x86_64: Optimize NUMA node hash function
Compute the highest possible value for memnode_shift, in order to reduce
footprint of memnodemap[] to the minimum, thus making all users
(phys_to_nid(), kfree()), more cache friendly.

Before the patch :

 Node 0 MemBase 0000000000000000 Limit 00000001ffffffff
 Node 1 MemBase 0000000200000000 Limit 00000003ffffffff
 Using 23 for the hash shift. Max adder is 3ffffffff

After the patch :

 Node 0 MemBase 0000000000000000 Limit 00000001ffffffff
 Node 1 MemBase 0000000200000000 Limit 00000003ffffffff
 Using 33 for the hash shift.

In this case, only 2 bytes of memnodemap[] are used, instead of 2048

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-14 19:55:15 -08:00
..
alpha
arm [PATCH] ARM: Reverted 2918/1: [update] Base port of Comdial MP1000 platfrom 2005-11-04 17:28:34 +00:00
arm26
cris
frv
h8300
i386 [PATCH] x86_64: Unmap NULL during early bootup 2005-11-14 19:55:14 -08:00
ia64 [PATCH] x86_64: Set compatibility flag for 4GB zone on IA64 2005-11-14 19:55:13 -08:00
m32r
m68k
m68knommu
mips
parisc
powerpc Merge master.kernel.org:/pub/scm/linux/kernel/git/paulus/powerpc-merge 2005-11-04 16:27:50 -08:00
ppc powerpc: Merge smp.c and smp.h 2005-11-05 10:33:55 +11:00
ppc64 powerpc: Merge smp.c and smp.h 2005-11-05 10:33:55 +11:00
s390
sh
sh64
sparc
sparc64
um
v850
x86_64 [PATCH] x86_64: Optimize NUMA node hash function 2005-11-14 19:55:15 -08:00
xtensa