summaryrefslogtreecommitdiffstats
path: root/sys/amd64/linux32/linux32_sysvec.c
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2014-05-31 14:58:53 +0000
committerdchagin <dchagin@FreeBSD.org>2014-05-31 14:58:53 +0000
commitf38753151f23bc12408144948eee1eb573455b16 (patch)
treed0b7668ef51f689fe0216771db6e165eb1d30395 /sys/amd64/linux32/linux32_sysvec.c
parent67af8e8a06fed45b7724a9a1544844eee6206d62 (diff)
downloadFreeBSD-src-f38753151f23bc12408144948eee1eb573455b16.zip
FreeBSD-src-f38753151f23bc12408144948eee1eb573455b16.tar.gz
Glibc was switched to the FUTEX_WAIT_BITSET op and CLOCK_REALTIME
flag has been added instead of FUTEX_WAIT to replace the FUTEX_WAIT logic which needs to do gettimeofday() calls before the futex syscall to convert the absolute timeout to a relative timeout. Before this the CLOCK_MONOTONIC used by the FUTEX_WAIT_BITSET op. When the FUTEX_CLOCK_REALTIME is specified the timeout is an absolute time, not a relative time. Rework futex_wait to handle this. On the side fix the futex leak in error case and remove useless parentheses. Properly calculate the timeout for the CLOCK_MONOTONIC case. MFC after: 3 days
Diffstat (limited to 'sys/amd64/linux32/linux32_sysvec.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud