glibc/sysdeps/nptl
Adhemerval Zanella b769b0a2cb linux: Only use 64-bit syscall if required for internal futex
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
..
bits
sys
aio_misc.h nptl: Move pthreadP.h into sysdeps directory 2021-06-22 09:51:10 +02:00
dl-mutex.c elf, nptl: Resolve recursive lock implementation early 2021-05-10 10:31:41 +02:00
dl-thread_gscope_wait.c
dl-tls_init_tp.c nptl: Move pthreadP.h into sysdeps directory 2021-06-22 09:51:10 +02:00
dl-tunables.list
fork.c nptl: Move pthreadP.h into sysdeps directory 2021-06-22 09:51:10 +02:00
futex-internal.h linux: Only use 64-bit syscall if required for internal futex 2021-06-22 12:09:52 -03:00
gai_misc.h nptl: Move pthreadP.h into sysdeps directory 2021-06-22 09:51:10 +02:00
Implies
internaltypes.h
jmp-unwind.c nptl: Move pthreadP.h into sysdeps directory 2021-06-22 09:51:10 +02:00
libc_start_call_main.h nptl: Move pthreadP.h into sysdeps directory 2021-06-22 09:51:10 +02:00
libc-lock.h nptl: Move legacy unwinding implementation into libc 2021-04-21 19:49:50 +02:00
libc-lockP.h nptl: Move pthreadP.h into sysdeps directory 2021-06-22 09:51:10 +02:00
lowlevellock-futex.h nptl: Consolidate async cancel enable/disable implementation in libc 2021-05-05 17:19:32 +02:00
lowlevellock.h nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
Makeconfig nptl: Do not install libpthread.so and do not link tests with it 2021-05-25 11:30:23 +02:00
Makefile nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
malloc-machine.h
proc_service.h
pthread_early_init.h nptl: Move pthreadP.h into sysdeps directory 2021-06-22 09:51:10 +02:00
pthread_mutex_conf.h nptl: Move internal symbol __mutex_aconf into libc 2021-04-21 19:49:51 +02:00
pthread-offsets.h
pthread.h y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
pthreadP.h nptl: Move pthreadP.h into sysdeps directory 2021-06-22 09:51:10 +02:00
setxid.h nptl: Move pthreadP.h into sysdeps directory 2021-06-22 09:51:10 +02:00
stdio-lock.h libio: Assume _IO_lock_inexpensive 2021-06-04 09:54:52 -03:00
Subdirs
tcb-offsets.h
thread_db.h
timer_routines.h
tst-mqueue8x.c