diff options
author | Peter Zijlstra <[email protected]> | 2019-02-27 11:09:56 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-06-17 12:43:44 +0200 |
commit | 2234a6d3a28a971182cc91d5679e444516421de0 (patch) | |
tree | bea8d20799cc102fe565c3c1c5ccc69802c7bbf6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8dc2d993cf1aea578d947e34ea2d5c6ffd1644e4 (diff) |
x86/percpu: Optimize raw_cpu_xchg()
Since raw_cpu_xchg() doesn't need to be IRQ-safe, like
this_cpu_xchg(), we can use a simple load-store instead of the cmpxchg
loop.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions