diff options
author | Ingo Molnar <[email protected]> | 2017-09-23 15:00:14 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-09-26 09:43:44 +0200 |
commit | e10078eba69859359ce8644dd423b4132a6a8913 (patch) | |
tree | db0aadc1cbc41c2690877954ed396dcdec85a860 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7f1487c59b7c6dcb20155f4302985da2659a2997 (diff) |
x86/fpu: Simplify and speed up fpu__copy()
fpu__copy() has a preempt_disable()/enable() pair, which it had to do to
be able to atomically unlazy the current task when doing an FNSAVE.
But we don't unlazy tasks anymore, we always do direct saves/restores of
FPU context.
So remove both the unnecessary critical section, and update the comments.
Cc: Andrew Morton <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Eric Biggers <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Yu-cheng Yu <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions