]> git.baikalelectronics.ru Git - kernel.git/commit
x86_64 syscall audit fast-path
authorRoland McGrath <roland@redhat.com>
Mon, 23 Jun 2008 22:37:04 +0000 (15:37 -0700)
committerRoland McGrath <roland@redhat.com>
Thu, 24 Jul 2008 00:47:32 +0000 (17:47 -0700)
commitaf6566d0904a11e9180d54af0a101fdbd01622b9
treec4983e33488c66d3fcccad07b87b27f1bd2e6841
parentadb64b70c3748c260d01c4baef4a296a68a25223
x86_64 syscall audit fast-path

This adds a fast path for 64-bit syscall entry and exit when
TIF_SYSCALL_AUDIT is set, but no other kind of syscall tracing.
This path 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>
arch/x86/kernel/entry_64.S
kernel/auditsc.c