diff options
| author | Dominik Brodowski <[email protected]> | 2018-03-06 21:18:08 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-03-07 06:57:31 +0000 |
| commit | af52201d991624d2d5adce2c123805b3d42a8d4d (patch) | |
| tree | 6fcb0ec95c5ad0c7fff5dd51abb8df12c623dc53 /fs/proc/array.c | |
| parent | x86/syscalls: Use COMPAT_SYSCALL_DEFINEx() macros for x86-only compat syscalls (diff) | |
| download | kernel-af52201d991624d2d5adce2c123805b3d42a8d4d.tar.gz kernel-af52201d991624d2d5adce2c123805b3d42a8d4d.zip | |
x86/entry: Do not special-case clone(2) in compat entry
With the CPU renaming registers on its own, and all the overhead of the
syscall entry/exit, it is doubtful whether the compiled output of
mov %r8, %rax
mov %rcx, %r8
mov %rax, %rcx
jmpq sys_clone
is measurably slower than the hand-crafted version of
xchg %r8, %rcx
So get rid of this special case.
Signed-off-by: Dominik Brodowski <[email protected]>
Acked-by: Linus Torvalds <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
