[PATCH] x86_64: Speed up numa_node_id by putting it directly into the PDA
authorAndi Kleen <ak@suse.de>
Sat, 5 Nov 2005 16:25:53 +0000 (17:25 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 15 Nov 2005 03:55:14 +0000 (19:55 -0800)
commit69d81fcde7797342417591ba7affb372b9c86eae
tree97fbc73fd20f8ebc313b2bc41367a8efe36c2c3d
parent50895c5d76e15d8af480eff1aaab5770cabbc2c2
[PATCH] x86_64: Speed up numa_node_id by putting it directly into the PDA

Not go from the CPU number to an mapping array.
Mode number is often used now in fast paths.

This also adds a generic numa_node_id to all the topology includes

Suggested by Eric Dumazet

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/setup.c
arch/x86_64/mm/numa.c
arch/x86_64/mm/srat.c
include/asm-x86_64/numa.h
include/asm-x86_64/pda.h
include/asm-x86_64/topology.h
include/linux/mmzone.h