[IA64] speed up syscall path a bit more
authorDavid Mosberger-Tang <davidm@hpl.hp.com>
Mon, 25 Apr 2005 20:03:16 +0000 (13:03 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 25 Apr 2005 20:03:16 +0000 (13:03 -0700)
commit30325d17715302a60c9afdaacaafaeb056b7e880
tree8872d59f841a5338e04f15c1183b8fd2ad4bfbb3
parente8d1cb2f280aa53e1c75c8b5fcbf80b3481d0caa
[IA64] speed up syscall path a bit more

Recently I noticed that clearing ar.ssd/ar.csd right before srlz.d is
causing significant stalling in the syscall path.  The patch below
fixes that by moving the register-writes after srlz.d.  On a Madison,
this drops break-based getpid() from 241 to 226 cycles (-15 cycles).

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