about summary refs log tree commit diff
path: root/resolv
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2022-01-10 13:31:39 +0100
committerFlorian Weimer <fweimer@redhat.com>2022-01-10 13:31:47 +0100
commite72ef23ee88187284b4b1ca9b2e314e618429d35 (patch)
tree5666c507dd95ff0899885be083cd871c3a0fb624 /resolv
parent6b0978c14acc2a6b5f5dbd8e8ef75fddc6656483 (diff)
downloadglibc-e72ef23ee88187284b4b1ca9b2e314e618429d35.tar.gz
glibc-e72ef23ee88187284b4b1ca9b2e314e618429d35.tar.xz
glibc-e72ef23ee88187284b4b1ca9b2e314e618429d35.zip
elf: Simplify software TM implementation in _dl_find_object
With the current set of fences, the version update at the start
of the TM write operation is redundant, and the version update
at the end does not need to use an atomic read-modify-write
operation.

Also use relaxed MO stores during the dlclose update, and skip any
version changes there.

Suggested-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
Diffstat (limited to 'resolv')
0 files changed, 0 insertions, 0 deletions