glibc/sysdeps/unix/sysv/linux/sparc
Adhemerval Zanella 215078017f nptl: Replace non cancellable pause/nanosleep with futex
To help y2038 work avoid duplicate all the logic of nanosleep on
non cancellable version, the patch replace it with a new futex
operation, lll_timedwait.  The changes are:

  - Add a expected value for __lll_clocklock_wait, so it can be used
    to wait for generic values.

  - Remove its internal atomic operation and move the logic to
    __lll_clocklock.  It makes __lll_clocklock_wait even more generic
    and __lll_clocklock slight faster on fast-path (since it won't
    require a function call anymore).

  - Add lll_timedwait, which uses __lll_clocklock_wait, to replace both
    __pause_nocancel and __nanosleep_nocancel.

It also allows remove the sparc32 __lll_clocklock_wait implementation
(since it is similar to the generic one).

Checked on x86_64-linux-gnu, sparcv9-linux-gnu, and i686-linux-gnu.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2019-10-31 11:09:01 -03:00
..
bits Define __STATFS_MATCHES_STATFS64 2019-10-24 09:14:26 -07:00
sparc32 nptl: Move pthread_attr_setschedparam implementation into libc 2019-10-07 20:00:38 +02:00
sparc64 ipc: Refactor sysvipc internal definitions 2019-10-17 11:04:59 -03:00
sys Add PTRACE_GET_SYSCALL_INFO from Linux 5.3 to sys/ptrace.h. 2019-10-14 23:43:52 +00:00
Implies
Makefile
Versions
a.out.h
aio_cancel.c
configure
configure.ac
dl-cache.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
getrlimit64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
getshmlba.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
getsysstats.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
kernel-features.h Update sysvipc kernel-features.h files for Linux 5.1 2019-10-18 11:01:13 -03:00
kernel_sigaction.h
kernel_termios.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ldd-rewrite.sed
lowlevellock.h nptl: Replace non cancellable pause/nanosleep with futex 2019-10-31 11:09:01 -03:00
profil-counter.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
readelflib.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
rt-sysdep.c
sysdep.c
sysdep.h Refactor vDSO initialization code 2019-09-17 17:09:24 -03:00