glibc/sysdeps/htl
Sergey Bugaev ed2f9aaf5e htl: Reimplement GSCOPE
This is a new implementation of GSCOPE which largely mirrors its NPTL
counterpart. Same as in NPTL, instead of a global flag shared between
threads, there is now a per-thread GSCOPE flag stored in each thread's
TCB. This makes entering and exiting a GSCOPE faster at the expense of
making THREAD_GSCOPE_WAIT () slower.

The largest win is the elimination of many redundant gsync_wake () RPC
calls; previously, even simplest programs would make dozens of fully
redundant gsync_wake () calls.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20210915171110.226187-3-bugaevc@gmail.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2021-09-16 01:04:17 +02:00
..
bits Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
include Hurd: Define ARCH_MIN_GUARD_SIZE in internal <pthread.h> 2021-05-20 18:56:57 +02:00
dl-support.c htl: Move thread table to ld.so 2021-09-16 01:04:05 +02:00
dl-thread_gscope_wait.c htl: Reimplement GSCOPE 2021-09-16 01:04:17 +02:00
flockfile.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ftrylockfile.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
funlockfile.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
futex-internal.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Implies hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
libc-lock.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
libc-lockP.h Remove pthread_key_create-related internals from libc-lock.h 2021-04-21 19:49:51 +02:00
Makeconfig htl: Fix linking static examples against libpthread 2021-07-13 23:49:53 +02:00
Makefile htl: Add __errno_location and __h_errno_location 2020-01-04 19:37:53 +01:00
pt-attr-destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-getdetachstate.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-getguardsize.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-getinheritsched.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-getschedparam.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-getschedpolicy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-getscope.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-getstack.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-getstackaddr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-getstacksize.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-setdetachstate.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-setguardsize.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-setinheritsched.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-setschedparam.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-setschedpolicy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-setscope.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-setstack.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-setstackaddr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-setstacksize.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-barrier-destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-barrier-init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-barrier-wait.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-barrier.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-barrierattr-destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-barrierattr-getpshared.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-barrierattr-init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-barrierattr-setpshared.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-cond-brdcast.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-cond-destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-cond-init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-cond-signal.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-cond-timedwait.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-cond-wait.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-cond.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-condattr-destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-condattr-getclock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-condattr-getpshared.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-condattr-init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-condattr-setclock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-condattr-setpshared.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-destroy-specific.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-equal.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-getconcurrency.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-getcpuclockid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-getschedparam.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-getspecific.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-init-specific.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-key-create.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-key-delete.c htl: Move thread table to ld.so 2021-09-16 01:04:05 +02:00
pt-key.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-once.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-attr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-rdlock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-timedrdlock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-timedwrlock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-tryrdlock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-trywrlock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-unlock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-wrlock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlockattr-destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlockattr-getpshared.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlockattr-init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlockattr-setpshared.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-setconcurrency.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-setschedparam.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-setschedprio.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-setspecific.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-startup.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_atfork_compat.h Consolidate pthread_atfork 2021-06-24 10:04:41 -03:00
pthread-functions.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread.h Add __attribute_access_none to disable GCC warnings [BZ #27714] 2021-04-27 13:01:55 -06:00
pthreadP.h htl: Move thread table to ld.so 2021-09-16 01:04:05 +02:00
raise.c htl: Move thread table to ld.so 2021-09-16 01:04:05 +02:00
sem-destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sem-getvalue.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sem-init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sem-post.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sem-timedwait.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sem-trywait.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sem-wait.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sem-waitfast.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
stdio-lock.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Subdirs hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
thrd_current.c htl: Move thread table to ld.so 2021-09-16 01:04:05 +02:00
timer_routines.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
timer_routines.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Versions hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00