glibc/sysdeps
Adhemerval Zanella 2c0982eb93 linux: Only use 64-bit syscall if required for timerfd_settime
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>
2021-06-22 12:09:52 -03:00
..
aarch64 AArch64: Add support for roundeven[f] 2021-06-08 13:33:09 +01:00
alpha nptl: Move pthread_spin_trylock into libc 2021-04-23 17:06:48 +02:00
arc
arm nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
csky
generic rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
gnu posix: Add glob64 with 64-bit time_t support 2021-06-15 10:42:11 -03:00
hppa nptl: Move pthread_spin_init, Move pthread_spin_unlock into libc 2021-04-23 17:06:44 +02:00
htl rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
hurd
i386 Properly check stack alignment [BZ #27901] 2021-05-24 07:42:12 -07:00
ia64 nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
ieee754 configure: Replaced obsolete AC_TRY_COMPILE 2021-06-04 10:16:00 -03:00
m68k
mach Add hidden prototypes for fsync, fdatasync 2021-06-22 09:51:14 +02:00
microblaze
mips dlfcn: Cleanups after -ldl is no longer required 2021-06-03 09:11:45 +02:00
nios2
nptl nptl: Move pthreadP.h into sysdeps directory 2021-06-22 09:51:10 +02:00
posix Use 64 bit time_t stat internally 2021-06-22 12:09:52 -03:00
powerpc Add build option to disable usage of scv on powerpc 2021-06-10 16:23:25 -03:00
pthread rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
riscv nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
s390 iconvdata: Move gconv-modules configuration to gconv-modules.conf 2021-06-09 09:47:16 +05:30
sh nptl: Move pthread_spin_trylock into libc 2021-04-23 17:06:48 +02:00
sparc nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
unix linux: Only use 64-bit syscall if required for timerfd_settime 2021-06-22 12:09:52 -03:00
wordsize-32
wordsize-64
x86 dlfcn: Cleanups after -ldl is no longer required 2021-06-03 09:11:45 +02:00
x86_64 Properly check stack alignment [BZ #27901] 2021-05-24 07:42:12 -07:00