[PATCH v2] malloc: Remove malloc hooks (Bug 23328)
DJ Delorie
dj@redhat.com
Tue Jul 3 00:53:00 GMT 2018
Florian Weimer <fw@deneb.enyo.de> writes:
> Correct. At that point, you are still single-threaded, so you don't
> need all that complicated synchronization. (You might need a dummy
> allocation for bootstrapping, though.)
I'd still need the recursion check. There's no real advantage to
replacing atomic ops with non-atomic ops, other than readability.
More information about the Libc-alpha
mailing list