Use relaxed atomics since there is no MO dependence
commita30e960328fc60e066967d1224ecd5b6e173cda3
authorWilco Dijkstra <wdijkstr@arm.com>
Tue, 13 Sep 2022 10:58:07 +0000 (13 11:58 +0100)
committerWilco Dijkstra <wdijkstr@arm.com>
Tue, 13 Sep 2022 10:58:07 +0000 (13 11:58 +0100)
tree20fe8ff72d39d2c4fe3d867a19e88621bbd095c5
parentf278835f594740f5913001430641cf1da4878670
Use relaxed atomics since there is no MO dependence

Replace the 3 uses of atomic_bit_set and atomic_bit_test_set with
atomic_fetch_or_relaxed.  Using relaxed MO is correct since the
atomics are used to ensure memory is released only once.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
nptl/nptl_free_tcb.c
nptl/pthread_create.c
sysdeps/nptl/pthreadP.h