glibc/rt
Adhemerval Zanella e9e912d334 linux: Only use 64-bit syscall if required for mq_timedreceive
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 Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
aio_cancel.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
aio_error.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
aio_fsync.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
aio_misc.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
aio_notify.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
aio_read64.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
aio_read.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
aio_return.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
aio_sigqueue.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
aio_suspend.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
aio_write64.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
aio_write.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
aio.h y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
Depend hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
lio_listio64.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
lio_listio.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
Makefile linux: Only use 64-bit syscall if required for mq_timedreceive 2021-06-22 12:09:52 -03:00
mq_close.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_getattr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_notify.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_open.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_receive.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_send.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_setattr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_timedreceive.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_timedsend.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_unlink.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mqueue.h y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
shm_open.c rt: Move shm_open into libc 2021-06-21 08:25:15 +02:00
shm_unlink.c rt: Move shm_unlink into libc 2021-06-21 08:25:15 +02:00
timer_create.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
timer_delete.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
timer_getoverr.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
timer_gettime.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
timer_settime.c rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
tst-aio2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio5.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio6-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-aio6.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio7.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio8.c (do_test): aio_offset should be initialized, too. 2006-01-05 00:26:42 +00:00
tst-aio9.c Don't reduce test timeout to less than default 2018-10-17 09:34:13 +02:00
tst-aio10.c Don't reduce test timeout to less than default 2018-10-17 09:34:13 +02:00
tst-aio64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-cpuclock2-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-cpuclock2.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-cputimer1.c * rt/tst-cpuclock1.c: New file. 2005-04-27 08:03:47 +00:00
tst-cputimer2.c * rt/tst-cpuclock1.c: New file. 2005-04-27 08:03:47 +00:00
tst-cputimer3.c * rt/tst-cpuclock1.c: New file. 2005-04-27 08:03:47 +00:00
tst-mqueue1-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-mqueue1.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue2-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-mqueue2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue4-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-mqueue4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue5.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue6.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue7.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue8-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-mqueue8.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue9.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue10-time64.c linux: Only use 64-bit syscall if required for mq_timedreceive 2021-06-22 12:09:52 -03:00
tst-mqueue10.c linux: Only use 64-bit syscall if required for mq_timedreceive 2021-06-22 12:09:52 -03:00
tst-mqueue.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-shm-cancel.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-shm.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-timer2.c Don't set unused field in rt/tst-timer2. 2015-02-06 12:30:38 -08:00
tst-timer3.c Update. 2004-04-16 20:44:32 +00:00
tst-timer4-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-timer4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-timer5.c 2004-12-07 Roland McGrath <roland@redhat.com> 2004-12-07 20:44:46 +00:00
tst-timer-sigmask.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-timer.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Versions rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00