aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2023-10-24 14:46:58 -0400
committerKent Overstreet <[email protected]>2023-10-30 21:48:22 -0400
commit2bce6368c46b835a133f7f4946eea9c4513828dd (patch)
tree9ddb4e9e192a1cb25c27d9b29641d2650be8f718 /tools/perf/scripts/python/bin
parentcd063c8b9e1e95560e90bac7816234d8b2ee2897 (diff)
closures: Better memory barriers
atomic_(dec|sub)_return_release() are a thing now - use them. Also, delete the useless barrier in set_closure_fn(): it's redundant with the memory barrier in closure_put(0. Since closure_put() would now otherwise just have a release barrier, we also need a new barrier when the ref hits 0 - smp_acquire__after_ctrl_dep(). Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions