tree 41589da99f8f147a2e7336c88efb5d332c282996
parent 1e6af5263a6a6c643f1cf3ff44a7e97050cdda86
author Andi Kleen <[EMAIL PROTECTED]> Tue Apr 12 08:25:35 2005
committer Linus Torvalds <[EMAIL PROTECTED]> Tue Apr 12 08:25:35 2005
[PATCH] x86_64: Fix a small missing schedule race
Could lead to a lost reschedule event when the process already rescheduled on
exception exit, and needs it again while still being in the kernel. Unlikely
case though.
Also remove one redundant cli in another entry.S path.
Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
entry.S | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: arch/x86_64/kernel/entry.S
===================================================================
--- b30efda23a0804054090790dfd5a107fe7f14e82/arch/x86_64/kernel/entry.S
(mode:100644 sha1:5b4cb65241bf91c555a6ae2ee3c0d603fb0ae111)
+++ 41589da99f8f147a2e7336c88efb5d332c282996/arch/x86_64/kernel/entry.S
(mode:100644 sha1:71b5d2ef24981dd6bdc87a311d645924d8e724ad)
@@ -284,6 +284,7 @@
pushq %rdi
call schedule
popq %rdi
+ cli
jmp int_with_check
/* handle signals and tracing -- both require a full stack frame */
@@ -453,7 +454,6 @@
andl %edi,%edx
jnz retint_careful
retint_swapgs:
- cli
swapgs
retint_restore_args:
cli
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html