]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86_64: Don't schedule on exception stack on preemptive kernels
authorAndi Kleen <ak@suse.de>
Mon, 15 May 2006 16:19:47 +0000 (18:19 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 16 May 2006 14:59:32 +0000 (07:59 -0700)
commit8618c4fef81951b3e30dcdc300ca7f04ba33c0cb
tree25db313781596303562a1a316592ffb9ff96542b
parentc435e0612a2562c875113e5288b17a8a0c8e120e
[PATCH] x86_64: Don't schedule on exception stack on preemptive kernels

Extends an earlier patch from John Blackwood to more exception handlers
that also run on the exception stacks.

Expand the use of preempt_conditional_{sti,cli} to all cases where
interrupts are to be re-enabled during exception handling while running
on an IST stack.

Based on original patch from Jan Beulich.

Cc: John Blackwood <john.blackwood@ccur.com>
Cc: jbeulich@novell.com
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/traps.c