This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] malloc: Remove malloc hooks (Bug 23328)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]