aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorUros Bizjak <[email protected]>2024-04-11 21:22:55 +0200
committerIngo Molnar <[email protected]>2024-04-12 11:42:39 +0200
commitfea0e1820b51fff95c85518eb9cf3386f367908d (patch)
treefc9ca71103216ce6200042036c59ba56e2b54713 /tools/perf/scripts/python/exported-sql-viewer.py
parent6a97734f2222e0352f1900e3eb3167e9069b91bb (diff)
locking/pvqspinlock: Use try_cmpxchg() in qspinlock_paravirt.h
Use try_cmpxchg(*ptr, &old, new) instead of cmpxchg(*ptr, old, new) == old in qspinlock_paravirt.h x86 CMPXCHG instruction returns success in ZF flag, so this change saves a compare after cmpxchg. No functional change intended. Signed-off-by: Uros Bizjak <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Reviewed-by: Waiman Long <[email protected]> Cc: Linus Torvalds <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions