[PATCH 20/39] NLKD/x86-64 - switch_to() floating pointadjustment
From: Jan Beulich
Date: Wed Nov 09 2005 - 09:21:26 EST
Touching of the floating point state in a kernel debugger must be
NMI-safe, specifically math_state_restore() must be able to deal with
being called out of an NMI context. In order to do that reliably, the
context switch code must take care to not leave a window open where
the current task's TS_USEDFPU flag and CR0.TS could get out of sync.
From: Jan Beulich <jbeulich@xxxxxxxxxx>
(actual patch attached)
Attachment:
linux-2.6.14-nlkd-x86_64-switch_to-fpu.patch
Description: Binary data