[PATCH v4] malloc: Improve malloc initialization
Florian Weimer
fweimer@redhat.com
Mon May 12 14:50:57 GMT 2025
* Wilco Dijkstra:
> v4: Remove remaining uses of __malloc_initialized.
>
> Move malloc initialization to __libc_early_init. Use a hidden __ptmalloc_init
> for initialization and a weak call to avoid pulling in the system malloc in a
> static binary. All previous initialization checks can now be removed.
>
> Passes regress, OK for commit?
This version looks okay to me.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Thanks,
Florian
More information about the Libc-alpha
mailing list