Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | aarch64: Optimize __libc_mtag_tag_zero_region | Szabolcs Nagy | 2021-03-26 | 1 | -16/+80 |
| | | | | | | | | This is a target hook for memory tagging, the original was a naive implementation. Uses the same algorithm as __libc_mtag_tag_region, but with instructions that also zero the memory. This was not benchmarked on real cpu, but expected to be faster than the naive implementation. | ||||
* | malloc: Only support zeroing and not arbitrary memset with mtag | Szabolcs Nagy | 2021-03-26 | 1 | -0/+49 |
The memset api is suboptimal and does not provide much benefit. Memory tagging only needs a zeroing memset (and only for memory that's sized and aligned to multiples of the tag granule), so change the internal api and the target hooks accordingly. This is to simplify the implementation of the target hook. Reviewed-by: DJ Delorie <dj@redhat.com> |