[PATCH v3 1/1] malloc: aarch64: Remove broken memory tagging

Yury Khrustalev yury.khrustalev@arm.com
Thu May 21 12:25:32 GMT 2026


On Thu, May 21, 2026 at 01:07:10PM +0100, Yury Khrustalev wrote:
> Remove the --enable-memory-tagging configure option along with
> all associated variables and macros.
> 
> Removing the glibc.mem.tagging tunable.
> 
> Remove the memory-tagging makefile variable.
> 
> Remove the USE_MTAG macro definition and code that is conditionally
> compiled when this macro is defined.
> 
> As a result, we change 'mtag_mmap_flags' to 'extra_mmap_prot' that
> is now always defined. Change of the name due to this being used
> as part of PROT options in mmap syscalls rather than part of flags.
> 
> Remove 'mtag_enabled' that would become compile-time false. Also
> remove any code that would never be compiled when 'mtag_enabled'
> is false.
> 
> Remove AArch64-specific code pertinent to memory tagging, that is
> currently broken, from the core malloc implementation. We keep
> the assembly code, since we are going to need it in the future. to
> preserve Git history.

OK, at this point I don't know what's going on. This patch applies
via git am for me: https://www.delorie.com/trybots/32bit/61309/



More information about the Libc-alpha mailing list