[PATCH v11 0/5] arm64: mte: allow async MTE to be upgraded to sync on a per-CPU basis

Catalin Marinas catalin.marinas at arm.com
Wed Jul 28 10:46:15 PDT 2021


On Tue, 27 Jul 2021 13:52:54 -0700, Peter Collingbourne wrote:
> On some CPUs the performance of MTE in synchronous mode is similar
> to that of asynchronous mode. This makes it worthwhile to enable
> synchronous mode on those CPUs when asynchronous mode is requested,
> in order to gain the error detection benefits of synchronous mode
> without the performance downsides. Therefore, make it possible for
> user programs to opt into upgrading to synchronous mode on those CPUs.
> 
> [...]

Applied to arm64 (for-next/mte) but first added Will's acks from v10 an
changed the Documentation/ patch to state "when scheduling" instead of
"when running". Thanks!

[1/5] arm64: mte: rename gcr_user_excl to mte_ctrl
      https://git.kernel.org/arm64/c/638982a03fbc
[2/5] arm64: mte: change ASYNC and SYNC TCF settings into bitfields
      https://git.kernel.org/arm64/c/433c38f40f6a
[3/5] arm64: move preemption disablement to prctl handlers
      https://git.kernel.org/arm64/c/d2e0d8f9746d
[4/5] arm64: mte: introduce a per-CPU tag checking mode preference
      https://git.kernel.org/arm64/c/dd061616edcf
[5/5] Documentation: document the preferred tag checking mode feature
      https://git.kernel.org/arm64/c/80c7c36fb3dd

-- 
Catalin




More information about the linux-arm-kernel mailing list