diff options
author | Eric Dumazet <[email protected]> | 2021-04-13 13:33:50 -0700 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2021-04-14 18:04:09 +0200 |
commit | 60af388d23889636011488c42763876bcdda3eab (patch) | |
tree | 9fa22b294c260a515a6243a3cc77090b79ec5ec5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | 4bad58ebc8bc4f20d89cff95417c9b4674769709 (diff) |
rseq: Optimize rseq_update_cpu_id()
Two put_user() in rseq_update_cpu_id() are replaced
by a pair of unsafe_put_user() with appropriate surroundings.
This removes one stac/clac pair on x86 in fast path.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Mathieu Desnoyers <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions