[IA64] fsys_getcpu for IA64
authorFenghua Yu <fenghua.yu@intel.com>
Tue, 13 Feb 2007 00:27:10 +0000 (16:27 -0800)
committerTony Luck <tony.luck@intel.com>
Thu, 8 Mar 2007 00:27:09 +0000 (16:27 -0800)
commit3bc207d2b72ea0e6927cccc653c2dc8be593f89f
tree6227ca004edf20809668ce0899e1835e075842bc
parentddbad076303dfc0ed4fcba53907dc175bb6d67b2
[IA64] fsys_getcpu for IA64

On 1.6GHz Montectio Tiger4, the following performance data is measured with
kernel built with defconfig which has NUMA configured:

Fastest sys_getcpu: 502 itc counts.
Fastest fsys_getcpu: 28 itc counts.

fsys_getcpu performance is largly impacted by whether data (node_to_cpu_map
etc) is in cache. It can take fsys_getcpu up to ~150 itc counts in cold
cache case.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/asm-offsets.c
arch/ia64/kernel/fsys.S