aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/entry_64.S
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-06-24 01:13:31 -0700
committerRoland McGrath <roland@redhat.com>2008-07-23 17:55:22 -0700
commit5cbf1565f29eb57a86a305b08836613508e294d7 (patch)
tree70806175e0868b543860d7d123cceb230d5d5e71 /arch/x86/kernel/entry_64.S
parentx86_64 syscall audit fast-path (diff)
downloadlinux-dev-5cbf1565f29eb57a86a305b08836613508e294d7.tar.xz
linux-dev-5cbf1565f29eb57a86a305b08836613508e294d7.zip
x86_64 ia32 syscall audit fast-path
This adds fast paths for 32-bit syscall entry and exit when TIF_SYSCALL_AUDIT is set, but no other kind of syscall tracing. These paths does not need to save and restore all registers as the general case of tracing does. Avoiding the iret return path when syscall audit is enabled helps performance a lot. Signed-off-by: Roland McGrath <roland@redhat.com>
Diffstat (limited to '')
-rw-r--r--arch/x86/kernel/entry_64.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S
index db7d34a89d2e..89434d439605 100644
--- a/arch/x86/kernel/entry_64.S
+++ b/arch/x86/kernel/entry_64.S
@@ -492,6 +492,7 @@ tracesys:
* Has correct top of stack, but partial stack frame.
*/
.globl int_ret_from_sys_call
+ .globl int_with_check
int_ret_from_sys_call:
DISABLE_INTERRUPTS(CLBR_NONE)
TRACE_IRQS_OFF