RFD - Support for memory tagging in GLIBC

Florian Weimer fweimer@redhat.com
Tue Sep 10 15:57:00 GMT 2019


* DJ Delorie:

> I wonder if we could generically abuse these bits on other architectures
> as well, but as a no-op?  It might require some platform-independent
> kernel interface to say "I want my address space to ignore the top four
> bits please".

You can get hardware support for this using alias mappings, but it's
going to be some bits in the middle, not the top bits, and you'll
probably waste TLB slots.  OpenJDK's ZGC does this even on aarch64
because as mentioned on this thread, the system calls currently expect
the canonical bits.

Thanks,
Florian



More information about the Libc-alpha mailing list