aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2018-04-26 11:34:26 +0100
committerIngo Molnar <[email protected]>2018-04-27 09:48:52 +0200
commitae75d9089ff7095d1d1a12c3cd86b21d3eaf3b15 (patch)
treea20982c45c6d23b63e8f7debae5946b4f8604c09 /tools/perf/scripts/python/bin
parent9d4646d14d51d62b967a12452c30ea7edf8dd8fa (diff)
locking/qspinlock: Use try_cmpxchg() instead of cmpxchg() when locking
When reaching the head of an uncontended queue on the qspinlock slow-path, using a try_cmpxchg() instead of a cmpxchg() operation to transition the lock work to _Q_LOCKED_VAL generates slightly better code for x86 and pretty much identical code for arm64. Reported-by: Peter Zijlstra <[email protected]> Signed-off-by: Will Deacon <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Waiman Long <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions