diff options
author | Peter Zijlstra <[email protected]> | 2016-06-08 09:12:30 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-06-08 14:44:00 +0200 |
commit | 8d53fa19041ae65c484d81d75179b4a577e6d8e4 (patch) | |
tree | 87f60f848df339868a1dde68ec7ae3250229fefa /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ae0b5c2f0334f35d2b2effb13aa418bc1e2039b7 (diff) |
locking/qspinlock: Clarify xchg_tail() ordering
While going over the code I noticed that xchg_tail() is a RELEASE but
had no obvious pairing commented.
It pairs with a somewhat unique address dependency through
decode_tail().
So the store-release of xchg_tail() is paired by the address
dependency of the load of xchg_tail followed by the dereference from
the pointer computed from that load.
The @old -> @prev transformation itself is pure, and therefore does
not depend on external state, so that is immaterial wrt. ordering.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Boqun Feng <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Pan Xinhui <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Waiman Long <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions