glibc/sysdeps/sparc/sparc32
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 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fpu Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sparcv8 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sparcv9 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
__longjmp.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
add_n.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
addmul_1.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
alloca.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
atomic-machine.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
backtrace.h Use libgcc unwinder for sparc backtraces, if available. 2013-01-21 14:15:30 -08:00
bsd-_setjmp.S
bsd-setjmp.S
bzero.c
divrem.m4 Update SPARC divrem generation to match output. 2017-12-15 14:06:07 +00:00
dl-irel.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dl-machine.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dl-plt.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dl-trampoline.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dotmul.S Remove trailing whitespace. 2013-06-05 20:44:03 +00:00
e_sqrt.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ieee754.h Split up endian.h to minimize exposure of BYTE_ORDER. 2019-10-01 14:54:46 -07:00
Implies Remove sysdeps/sparc/sparc32/soft-fp directory. 2018-05-25 16:51:15 +00:00
jmpbuf-offsets.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
jmpbuf-unwind.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
lowlevellock.c nptl: Replace non cancellable pause/nanosleep with futex 2019-10-31 11:09:01 -03:00
lshift.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Makefile Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
memchr.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
memcpy.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
memset.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mul_1.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pthread_barrier_wait.c New pthread_barrier algorithm to fulfill barrier destruction requirements. 2016-01-15 21:20:34 +01:00
pthread_spin_lock.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pthread_spin_trylock.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pthreaddef.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_add.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_cmp.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_cmpe.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_div.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_dtoq.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_feq.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_fge.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_fgt.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_fle.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_flt.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_fne.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_itoq.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_lltoq.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_mul.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_neg.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_qtod.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_qtoi.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_qtoll.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_qtos.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_qtou.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_qtoull.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_sqrt.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_stoq.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_sub.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_ulltoq.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_util.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
q_utoq.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
rem.S Update SPARC divrem generation to match output. 2017-12-15 14:06:07 +00:00
rshift.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sdiv.S Update SPARC divrem generation to match output. 2017-12-15 14:06:07 +00:00
sem_post.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sem_waitcommon.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
setjmp.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sfp-machine.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
stackguard-macros.h BZ #15754: CVE-2013-4788 2013-09-23 00:52:09 -04:00
start.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
stpcpy.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strcat.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strchr.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strcmp.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strcpy.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strlen.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strrchr.c
sub_n.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
submul_1.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tls-macros.h Split tls-macros.h into sysdeps directories. 2012-07-17 11:30:58 +00:00
tst-audit.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
udiv.S Update SPARC divrem generation to match output. 2017-12-15 14:06:07 +00:00
umul.S
urem.S Update SPARC divrem generation to match output. 2017-12-15 14:06:07 +00:00
Versions Remove sysdeps/sparc/sparc32/soft-fp directory. 2018-05-25 16:51:15 +00:00