[PATCH 1/3] inet: Fix getnameinfo (NI_NOFQDN) race condition (BZ#28566)
Florian Weimer
fweimer@redhat.com
Thu Nov 11 14:12:52 GMT 2021
* Adhemerval Zanella:
> I meant H.J internal lock optimization [1], where the lll_lock int this
> case will be mostly a relaxed load instead of a CAS (since once 'domain'
> is properly initialized, there is no need to take the lock).
>
> [1] https://sourceware.org/pipermail/libc-alpha/2021-November/132899.html
It doesn't work this way. It still does a CAS.
Thanks,
Florian
More information about the Libc-alpha
mailing list