From: Andi Kleen Date: Sat, 16 Apr 2005 22:25:01 +0000 (-0700) Subject: [PATCH] x86_64: Minor microoptimization in syscall entry slow path X-Git-Tag: v2.6.12-rc3~165 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36c1104e309fe93375e67cdbdb2a980f23965f3b;p=linux-2.6 [PATCH] x86_64: Minor microoptimization in syscall entry slow path Minor microoptimization in syscall entry slow path Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/x86_64/kernel/entry.S b/arch/x86_64/kernel/entry.S index e126284db7..053d6e80c3 100644 --- a/arch/x86_64/kernel/entry.S +++ b/arch/x86_64/kernel/entry.S @@ -302,9 +302,7 @@ int_very_careful: leaq 8(%rsp),%rdi # &ptregs -> arg1 call syscall_trace_leave popq %rdi - btr $TIF_SYSCALL_TRACE,%edi - btr $TIF_SYSCALL_AUDIT,%edi - btr $TIF_SINGLESTEP,%edi + andl $~(_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT|_TIF_SINGLESTEP),%edi jmp int_restore_rest int_signal: