diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-07-05 17:00:24 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-07-07 13:53:25 +0200 |
commit | d1bbfd0c7c9f985e57795a7e0cefc209ebf689c0 (patch) | |
tree | 58385a9487e3650dbadc7acf305e6dbe60d7b298 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e6b4457b05f36bb9e371f29ab1dd2d97272a1540 (diff) |
Documentation/atomic_t: Document cmpxchg() vs try_cmpxchg()
There seems to be a significant amount of confusion around the new
try_cmpxchg(), despite this being more like the C11
atomic_compare_exchange_*() family. Add a few words of clarification
on how cmpxchg() and try_cmpxchg() relate to one another.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lkml.kernel.org/r/YOMgPeMOmmiK3tXO@hirez.programming.kicks-ass.net
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions