]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[IA64] use srlz.d instead of srlz.i in ia64_leave_kernel()
authorDavid Mosberger-Tang <davidm@hpl.hp.com>
Thu, 28 Apr 2005 04:22:08 +0000 (21:22 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 28 Apr 2005 04:22:08 +0000 (21:22 -0700)
commite7e965fa1961a8ce32cbbb1bd436c655ad03973e
treefce517f87be25a0e49d62adb56460a4e7ee36716
parentfbf7192ba06e4b55022231e5fdb9db8ce3ad6307
[IA64] use srlz.d instead of srlz.i in ia64_leave_kernel()

This patch switches the srlz.i in ia64_leave_kernel() to srlz.d.  As
per architecture manual, the former is needed only to ensure that the
clearing of PSR.IC is seen by the VHPT for subsequent instruction
fetches.  However, since the remainder of the code (up to and
including the RFI instruction) is mapped by a pinned TLB entry, there
is no chance of an iTLB miss and we don't care whether or not the VHPT
sees PSR.IC cleared.  Since srlz.d is substantially cheaper than
srlz.i, this should shave off a few cycles off the interrupt path
(unverified though; I'm not setup to measure this at the moment).

Signed-off-by: David Mosberger-Tang <davidm@hpl.hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/entry.S