[PATCH v2] aarch64: MTE compatible strchrnul
Tue Jun 9 07:05:23 GMT 2020
The 06/05/2020 17:18, Andrea Corallo wrote:
> Introduce an Arm MTE compatible strchrnul implementation.
> The existing implementation assumes that any access to the pages in
> which the string resides is safe. This assumption is not true when
> MTE is enabled. This patch updates the algorithm to ensure that
> accesses remain within the bounds of an MTE tag (16-byte chunks) and
> improves overall performance.
> Benchmarked on Cortex-A72, Cortex-A53, Neoverse N1.
> Co-authored-by: Wilco Dijkstra <email@example.com>
this is ok to commit.
More information about the Libc-alpha