[PATCH v2 2/2] malloc: introduce ifuncs for malloc functions
Yury Khrustalev
yury.khrustalev@arm.com
Thu May 7 12:51:22 GMT 2026
DJ,
On Mon, Apr 20, 2026 at 03:14:59PM +0100, Yury Khrustalev wrote:
> Introduce ifuncs and resolvers for functions pertinent to the
> malloc interface.
>
> ...
>
I've been working on fixing memory tagging in malloc that is based on
the ifuncs introduced in this patch. To help see my direction of work,
I've push it to the 'arm/malloc-mte-v1' branch [1].
In a nutshell, this is functionally correct MTE-based memory tagging in
malloc (any performance implications are out of scope at the moment).
We no longer need a separate configure option and memory tagging is
always present but not enabled unless both supported by hardware and
requested via a tunable.
This patch series also includes necessary refactoring of malloc code
that I am going to send for upstream review as soon as the ifunc patch
is accepted.
[1]: https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/arm/malloc-mte-v1
Cheers,
Yury
More information about the Libc-alpha
mailing list