[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: glibc THREAD_GSCOPE and excessive gsync_wake ()
From: |
Sergey Bugaev |
Subject: |
Re: glibc THREAD_GSCOPE and excessive gsync_wake () |
Date: |
Sat, 8 May 2021 23:03:34 +0300 |
On Sat, May 8, 2021 at 10:54 PM Samuel Thibault <samuel.thibault@gnu.org> wrote:
> Don't bother looking at the existing implementation, its roots dates
> before we really had gsync working.
Interesting!
As far as I can see, this implementation was committed (by you) in
2018; and gsync has not seen significant changes since 2017. What am I
missing?
> 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.
Ah, I assumed this was on purpose. Thanks for the pointer.
Sergey