[PATCH v2 1/8] posix: Consolidate register-atfork

Florian Weimer fweimer@redhat.com
Thu Mar 11 21:05:42 GMT 2021


* Adhemerval Zanella via Libc-alpha:

> Changes from v1:
> * Remove hurd fork.h (the atfork definitions are now at
>   register-atfork.h)
> ---
> 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.

Looks okay to me, thanks.

Florian



More information about the Libc-alpha mailing list