summaryrefslogtreecommitdiff
path: root/distrib/sets/lists/comp/md.arm64
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2022-03-21 05:45:53 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2022-03-21 05:45:53 +0000
commitf5a3cc0627b302b29b1c23470401b8d27cdac23b (patch)
tree2e1fb7b36208c8a47df0b42cdbf23f424a05ab43 /distrib/sets/lists/comp/md.arm64
parentb7af23d2b1ded57e40a8655643cc9aae8cdcf6f6 (diff)
Remove data dependency barrier from atomic_load_* functions
This makes the atomic_load_* functions relaxed in terms of memory ordering. Now it should be acceptable to use these functions in assertions. The need of the data dependency barrier is conditioned to usage. The barrier is unnecessary for the control decisions that cond_wait() and refcnt_finalize() make. READ_ONCE() and SMR_PTR_GET() use the barrier so that loaded pointers would work as excepted in lock-free contexts (some Alpha CPUs have a data cache design that can cause unusual load-load reordering if not synchronized properly). OK bluhm@
Diffstat (limited to 'distrib/sets/lists/comp/md.arm64')
0 files changed, 0 insertions, 0 deletions