[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)
commit40e59a61669a3cab9e0bd24644e29155d6b00970
tree25db313781596303562a1a316592ffb9ff96542b
parentfad7906d16e8c4926aeb5b0f1756eb9f55b2837d
[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