summaryrefslogtreecommitdiff
path: root/inet/getrpcbynumber.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-11-12 11:47:42 -0800
committerSunil K Pandey <skpgkp2@gmail.com>2022-09-28 13:52:25 -0700
commit60b8295333a076ff853c1093c502c7bf5197ab2e (patch)
tree4e7541693a65d53de99e32466d3f5348d6e6f005 /inet/getrpcbynumber.c
parent8844d9b22dfa00675ef4f4e14ffe107a173bc068 (diff)
downloadglibc-60b8295333a076ff853c1093c502c7bf5197ab2e.tar.gz
Move assignment out of the CAS condition
Update commit 49302b8fdf9103b6fc0a398678668a22fa19574c Author: H.J. Lu <hjl.tools@gmail.com> Date: Thu Nov 11 06:54:01 2021 -0800 Avoid extra load with CAS in __pthread_mutex_clocklock_common [BZ #28537] Replace boolean CAS with value CAS to avoid the extra load. and commit 0b82747dc48d5bf0871bdc6da8cb6eec1256355f Author: H.J. Lu <hjl.tools@gmail.com> Date: Thu Nov 11 06:31:51 2021 -0800 Avoid extra load with CAS in __pthread_mutex_lock_full [BZ #28537] Replace boolean CAS with value CAS to avoid the extra load. by moving assignment out of the CAS condition. (cherry picked from commit 120ac6d238825452e8024e2f627da33b2508dfd3)
Diffstat (limited to 'inet/getrpcbynumber.c')
0 files changed, 0 insertions, 0 deletions