diff options
| author | Oleg Nesterov <[email protected]> | 2014-09-02 17:57:17 +0000 |
|---|---|---|
| committer | H. Peter Anvin <[email protected]> | 2014-09-02 21:51:15 +0000 |
| commit | df24fb859a4e200d9324e2974229fbb7adf00aef (patch) | |
| tree | 948fce3a30171ba27d8656f0782b9e9b9f51e864 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | x86, fpu: shift drop_init_fpu() from save_xstate_sig() to handle_signal() (diff) | |
| download | kernel-df24fb859a4e200d9324e2974229fbb7adf00aef.tar.gz kernel-df24fb859a4e200d9324e2974229fbb7adf00aef.zip | |
x86, fpu: __restore_xstate_sig()->math_state_restore() needs preempt_disable()
Add preempt_disable() + preempt_enable() around math_state_restore() in
__restore_xstate_sig(). Otherwise __switch_to() after __thread_fpu_begin()
can overwrite fpu->state we are going to restore.
Signed-off-by: Oleg Nesterov <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Cc: <[email protected]> # v3.7+
Reviewed-by: Suresh Siddha <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
