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)


* DJ Delorie:

> Florian Weimer <fw@deneb.enyo.de> writes:
>> Dummy hooks?  I meant to initialize not the hooks, but the next_*
>> variables.
>
> That's what I was referring to.
>
> Or did you mean "look up all the symbols the first time you need any of
> them" ?

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.)


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