]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86_64: Clean up double fault handling
authorJan Beulich <jbeulich@novell.com>
Wed, 11 Jan 2006 21:42:17 +0000 (22:42 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 03:01:10 +0000 (19:01 -0800)
commitfed64d508aad4e7f6299bf405f7b311d2c829bfe
treef74aecdd6f793dd01901220e4a09e82c021d7028
parentc671c332757247b84630bfa18596108ed26534e7
[PATCH] x86_64: Clean up double fault handling

Since a double fault always implies that kernel data structures are
corrupt, this fault should neither be handed to user mode handling,
nor should the handler allow resuming the faulting code stream (since
architecturally this isn't a fault, but an abort).

Note that this slightly depends on the previously submitted patch
adjusting the prototype of notify_die() (a compiler warning will result
without that other patch).

AK: Removed obsolete CONFIG_CHECKING code, added comments

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/traps.c