[PATCH v2 0/2] malloc: introduce ifuncs for malloc functions
Wilco Dijkstra
Wilco.Dijkstra@arm.com
Thu May 7 09:15:40 GMT 2026
Hi,
>> Ifuncs mean indirection. Will x86 also get indirection for malloc calls with
>> this patch?
>
> We already have indirection now, since malloc is a preemptable symbol.
Plus internal usage of malloc is irrelevant in any case. Almost all use is from
dynamically linked applications.
The key advantage of ifuncs is that we can seamlessly switch between different
malloc implementations without adding extra complexity or overhead.
Cheers,
Wilco
More information about the Libc-alpha
mailing list