Message ID | 20210727205300.2554659-1-pcc@google.com (mailing list archive) |
---|---|
Headers | show |
Series | arm64: mte: allow async MTE to be upgraded to sync on a per-CPU basis | expand |
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