[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH htl v2 0/4] Rewrite THREAD_GSCOPE
From: |
Sergey Bugaev |
Subject: |
Re: [RFC PATCH htl v2 0/4] Rewrite THREAD_GSCOPE |
Date: |
Tue, 31 Aug 2021 21:16:25 +0300 |
Thanks for looking into it!
On Mon, Aug 30, 2021 at 6:37 PM Florian Weimer <fweimer@redhat.com> wrote:
> You could kick the can down the road by switching to PTHREAD_IN_LIBC.
> In some cases, that might actually be correct replacement.
Ack; that should be easy to do. Nevertheless, please do look at patch
4/4 and say if you would prefer that approach.
Do you happen to know if there's a testcase that exercises
THREAD_GSCOPE_WAIT ()? Even simple programs evidently use
THREAD_GSCOPE_SET_FLAG () / THREAD_GSCOPE_RESET_FLAG (), but I so far
haven't been able to construct a program that would trigger the WAIT.
I've tried dlopening and dlclosing libraries concurrently from several
threads; I will try dlopening hundreds of libraries next (to hopefully
trigger a reallocation of some table), but it would be handy if there
was an official ready-to-use testcase.
Sergey
- [RFC PATCH htl v2 0/4] Rewrite THREAD_GSCOPE, Sergey Bugaev, 2021/08/30
- [RFC PATCH htl v2 4/4] XXX: Attempt to get rid of most THREAD_GSCOPE_IN_TCB usages, Sergey Bugaev, 2021/08/30
- [RFC PATCH htl v2 2/4] htl: Reimplement GSCOPE, Sergey Bugaev, 2021/08/30
- [RFC PATCH htl v2 3/4] testrun.sh: Add support for --tool=rpctrace, Sergey Bugaev, 2021/08/30
- [RFC PATCH htl v2 1/4] htl: Move thread table to ld.so, Sergey Bugaev, 2021/08/30
- Re: [RFC PATCH htl v2 0/4] Rewrite THREAD_GSCOPE, Florian Weimer, 2021/08/30
- Re: [RFC PATCH htl v2 0/4] Rewrite THREAD_GSCOPE,
Sergey Bugaev <=