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
bsd-_setjmp.S
bsd-setjmp.S
bzero.c
divrem.m4
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
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
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
rshift.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sdiv.S
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
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
tst-audit.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
udiv.S
umul.S
urem.S
Versions Remove sysdeps/sparc/sparc32/soft-fp directory. 2018-05-25 16:51:15 +00:00