[PATCH v2 3/3] malloc: Remove currently broken memory tagging

Yury Khrustalev yury.khrustalev@arm.com
Wed May 20 17:42:43 GMT 2026


Hello DJ,

On Wed, May 20, 2026 at 02:27:55PM +0100, Yury Khrustalev wrote:
> Remove AArch64-specific code, that is currently broken, from the
> core malloc implementation.
> 
> Code clean-up, no functional change unrelated to memory tagging.
> ---
>  malloc/malloc-check.c                         |  30 ++--
>  malloc/malloc.c                               | 163 ++----------------
>  sysdeps/aarch64/Makefile                      |   9 +-
>  ...__mtag_tag_region.S => __mte_tag_region.S} |   4 +-
>  ..._zero_region.S => __mte_tag_region_zero.S} |   4 +-
>  .../aarch64/{libc-mtag.h => aarch64-mte.h}    |  70 ++++----
>  sysdeps/generic/libc-mtag.h                   |  73 --------
>  7 files changed, 70 insertions(+), 283 deletions(-)
>  rename sysdeps/aarch64/{__mtag_tag_region.S => __mte_tag_region.S} (97%)
>  rename sysdeps/aarch64/{__mtag_tag_zero_region.S => __mte_tag_region_zero.S} (97%)
>  rename sysdeps/aarch64/{libc-mtag.h => aarch64-mte.h} (57%)
>  delete mode 100644 sysdeps/generic/libc-mtag.h

This is 2nd time that this patch failed to apply in this CI job:

  https://www.delorie.com/trybots/32bit/61280/

and I'm not sure why because it should apply cleanly (and it works
in the arm CI build).

DJ, could you clarify what is the problem here?

Thanks,
Yury



More information about the Libc-alpha mailing list