[PATCH 1/8] posix: Consolidate register-atfork
Florian Weimer
fweimer@redhat.com
Mon Mar 8 13:04:54 GMT 2021
* Adhemerval Zanella via Libc-alpha:
> Both htl and nptl uses a different data structure to implement atfork
> handlers. The nptl one was refactored by 27761a1042d to use a dynarray
> which simplifies the code.
>
> This patch moves the nptl one to be the generic implementation and
> replace Hurd linked one. Different than previous NPTL, Hurd also uses
> a global lock, so performance should be similar.
>
> Checked on x86_64-linux-gnu, i686-linux-gnu, and with a build for
> i686-gnu.
This looks okay to me (but it would be nice if a Hurd developer could
review too).
Thanks,
Florian
More information about the Libc-alpha
mailing list