diff options
author | Roland McGrath <roland@redhat.com> | 2008-06-24 12:13:31 +0400 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2008-07-24 04:55:22 +0400 |
commit | 5cbf1565f29eb57a86a305b08836613508e294d7 (patch) | |
tree | 70806175e0868b543860d7d123cceb230d5d5e71 /arch/x86/kernel | |
parent | 86a1c34a929f30fde8ad01ea8245df61ddcf58b7 (diff) | |
download | linux-5cbf1565f29eb57a86a305b08836613508e294d7.tar.xz |
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 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/entry_64.S | 1 |
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 |