diff options
author | Will Deacon <[email protected]> | 2018-02-13 13:30:19 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-02-13 14:55:53 +0100 |
commit | 61e02392d3c7ecac1f91c0a90a8043d67e081846 (patch) | |
tree | 643df7dcf736a212690237f1b49ef108a2f096e6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 11dc13224c975efcec96647a4768a6f1bb7a19a8 (diff) |
locking/atomic/bitops: Document and clarify ordering semantics for failed test_and_{}_bit()
A test_and_{}_bit() operation fails if the value of the bit is such that
the modification does not take place. For example, if test_and_set_bit()
returns 1. In these cases, follow the behaviour of cmpxchg and allow the
operation to be unordered. This also applies to test_and_set_bit_lock()
if the lock is found to be be taken already.
Signed-off-by: Will Deacon <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions