On 01/29/2015 04:08 PM, Oleg Nesterov wrote: > math_error() calls save_init_fpu() after conditional_sti(), this means > that the caller can be preempted. If !use_eager_fpu() we can hit the > WARN_ON_ONCE(!__thread_has_fpu(tsk)) and/or save the wrong FPU state. > > Change math_error() to use unlazy_fpu() and kill save_init_fpu(). > > Signed-off-by: Oleg Nesterov <[email protected]>
Reviewed-by: Rik van Riel <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

