[PATCH v2 0/2] malloc: introduce ifuncs for malloc functions
Yury Khrustalev
yury.khrustalev@arm.com
Thu May 7 08:47:59 GMT 2026
On Thu, May 07, 2026 at 04:35:27PM +0800, H.J. Lu wrote:
> On Thu, May 7, 2026 at 4:32 PM Yury Khrustalev <yury.khrustalev@arm.com> wrote:
> >
> > ...
> >
> > Having ifuncs will allow to move all AArch64-specific memory tagging
> > code to sysdeps, and whatever is done there will not affect other
> > targets. Right now fixing, maintaining and making any changes to memory
> > tagging requires modifying generic code. This means a lot of testing and
> > much higher probability to cause a regression, functional or
> > performance. We have to have these ifuncs.
> >
>
> ...
>
> Will x86 also get indirection for malloc calls with
> this patch?
Yes. If this is undesirable, I think we can make sysdeps/generic code
not use ifuncs (it would be the same as for the targets that don't
support ifuncs - already in the patch).
Thanks,
Yury
More information about the Libc-alpha
mailing list