]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] Fix potential interrupts during alternative patching
authorZachary Amsden <zach@vmware.com>
Fri, 20 Oct 2006 21:18:51 +0000 (14:18 -0700)
committerChris Wright <chrisw@sous-sol.org>
Sat, 4 Nov 2006 01:33:47 +0000 (17:33 -0800)
commitd758e2151487a13f2b6c726d0ba3781bbddf3e18
treedf00d7a7755d7dd0dd294f4c9c3a1114860d6718
parent6c7e1a3d3d1b85ebbec3c33fc9c728ad3be4846f
[PATCH] Fix potential interrupts during alternative patching

Interrupts must be disabled during alternative instruction patching.
On systems with high timer IRQ rates, or when running in an emulator,
timing differences can result in random kernel panics because of
running partially patched instructions.  This doesn't yet fix NMIs,
which requires extricating the patch code from the late bug checking
and is logically separate (and also less likely to cause problems).

Signed-off-by: Zachary Amsden <zach@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
arch/i386/kernel/alternative.c