about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-06-15 22:43:51 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-06-22 12:09:52 -0300
commiteef7913c2f5512a954e658a5908a47dbc0ec8c2e (patch)
treeefd27199fcfd2dbe5b2ee13d2fc53fac130b5d51 /sysdeps/unix/sysv/linux/Makefile
parent4b6551902e5c701e5f3156928d88aadeb6487dc1 (diff)
downloadglibc-eef7913c2f5512a954e658a5908a47dbc0ec8c2e.tar.gz
glibc-eef7913c2f5512a954e658a5908a47dbc0ec8c2e.tar.xz
glibc-eef7913c2f5512a954e658a5908a47dbc0ec8c2e.zip
linux: Only use 64-bit syscall if required for semtimedop
For !__ASSUME_TIME64_SYSCALLS there is no need to issue a 64-bit syscall
if the provided timeout fits in a 32-bit one.  The 64-bit usage should
be rare since the timeout is a relative one.

Checked on i686-linux-gnu on a 4.15 kernel and on a 5.11 kernel
(with and without --enable-kernel=5.1) and on x86_64-linux-gnu.

Reviewed-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'sysdeps/unix/sysv/linux/Makefile')
0 files changed, 0 insertions, 0 deletions