]> git.hungrycats.org Git - linux/commit
[PATCH] Move pfn_to_nid inline
authorMartin J. Bligh <mbligh@aracnet.com>
Fri, 28 Feb 2003 07:02:28 +0000 (23:02 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 28 Feb 2003 07:02:28 +0000 (23:02 -0800)
commit1c050f9d1f80c18ca04a2854d0e99c129291b3b2
treed91b18047c935839e1e81b41e4848fb5b975b171
parent35bff081e0b82f9bfcdfaf026ec5bf4c82c950b1
[PATCH] Move pfn_to_nid inline

Patch from William Lee Irwin

Inline and simplify pfn_to_nid - this is called heavily, it's a tiny
function, and makes a noticable difference in system time for kernel
compiles (sorry, lost the data). Is only used on NUMA machines.

Has been tested in my tree for over a month on UP, SMP, and NUMA and
compile tested against a variety of different configs.
arch/i386/kernel/i386_ksyms.c
arch/i386/kernel/numaq.c
include/asm-i386/numaq.h