[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: glibc THREAD_GSCOPE and excessive gsync_wake ()
From: |
Samuel Thibault |
Subject: |
Re: glibc THREAD_GSCOPE and excessive gsync_wake () |
Date: |
Sat, 8 May 2021 21:54:34 +0200 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Hello,
Don't bother looking at the existing implementation, its roots dates
before we really had gsync working.
Sergey Bugaev, le sam. 08 mai 2021 22:35:23 +0300, a ecrit:
> + do \
> + { \
> + int count; \
> + count = atomic_exchange_and_add_rel (&GL(dl_thread_gscope_count), -1);
> \
While at it, rather try to reproduce the other archs' behavior: use
gscope_flag from the tcb, and switch THREAD_GSCOPE_IN_TCB to 1. That
will make the implementation much simpler and scalable.
Samuel
- glibc THREAD_GSCOPE and excessive gsync_wake (), Sergey Bugaev, 2021/05/08
- Re: glibc THREAD_GSCOPE and excessive gsync_wake (),
Samuel Thibault <=
- Re: glibc THREAD_GSCOPE and excessive gsync_wake (), Sergey Bugaev, 2021/05/08
- Re: glibc THREAD_GSCOPE and excessive gsync_wake (), Samuel Thibault, 2021/05/08
- [RFC PATCH glibc 3/3] XXX: Reimplement gscope, Sergey Bugaev, 2021/05/09
- [RFC PATCH glibc 1/3] XXX: Rename THREAD_GSCOPE_IN_TCB -> THREAD_GSCOPE_LINK_MAP, Sergey Bugaev, 2021/05/09
- [RFC PATCH glibc 2/3] XXX: Move __pthread_threads to ld.so, Sergey Bugaev, 2021/05/09