From: Szabolcs Nagy <szabolcs.nagy@arm.com>
To: Will Deacon <will@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>,
Peter Collingbourne <pcc@google.com>,
Vincenzo Frascino <vincenzo.frascino@arm.com>,
Evgenii Stepanov <eugenis@google.com>,
Linux ARM <linux-arm-kernel@lists.infradead.org>,
Tejas Belagod <Tejas.Belagod@arm.com>
Subject: Re: [PATCH v5] arm64: mte: allow async MTE to be upgraded to sync on a per-CPU basis
Date: Mon, 28 Jun 2021 18:21:50 +0100 [thread overview]
Message-ID: <20210628172149.GN13058@arm.com> (raw)
In-Reply-To: <20210628101756.GB5503@willie-the-truck>
The 06/28/2021 11:17, Will Deacon wrote:
> On Fri, Jun 25, 2021 at 03:14:40PM +0100, Szabolcs Nagy wrote:
> > i think a user should be able to ask for sync check
> > mode for a process and get an error if that's not
> > possible.
>
> Hmm. The question then is what do we do if the sysfs override is changed
> after the application has started running?
if the failure cannot be reported then i think it is not ok
to override.
at least running a process in sync mode sounds useful to me.
with the per cpu override this may need privilege and even
then it may not be possible without significantly affecting
other processes. and sysfs is not a reliable api to figure
out what's going on.
if we need the ability to completely disable sync mode on a
cpu (as opposed to just doing it for performance tuning)
then it can be a boot option, or processes that requested
guaranteed sync mode can be killed.
i'm not against per cpu setting since most code should work
with whatever tag check mode, but if we make that the abi
(that code should work in whatever mode) then i think we
weaken the usability of mte.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2021-06-28 17:24 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-15 20:38 [PATCH v5] arm64: mte: allow async MTE to be upgraded to sync on a per-CPU basis Peter Collingbourne
2021-06-17 21:58 ` Will Deacon
2021-06-17 22:13 ` Peter Collingbourne
2021-06-18 15:09 ` Catalin Marinas
2021-06-19 0:45 ` Peter Collingbourne
2021-06-21 12:39 ` Will Deacon
2021-06-21 15:18 ` Catalin Marinas
2021-06-21 17:39 ` Will Deacon
2021-06-21 18:50 ` Catalin Marinas
2021-06-22 18:37 ` Peter Collingbourne
2021-06-23 8:55 ` Szabolcs Nagy
2021-06-23 17:15 ` Peter Collingbourne
2021-06-24 16:52 ` Catalin Marinas
2021-06-25 9:22 ` Szabolcs Nagy
2021-06-25 12:01 ` Catalin Marinas
2021-06-25 12:39 ` Will Deacon
2021-06-25 13:53 ` Catalin Marinas
2021-06-28 10:14 ` Will Deacon
2021-06-28 15:20 ` Catalin Marinas
2021-06-29 10:46 ` Will Deacon
2021-06-29 13:58 ` Szabolcs Nagy
2021-06-29 14:31 ` Tejas Belagod
2021-06-29 15:54 ` Catalin Marinas
2021-06-29 19:11 ` Peter Collingbourne
2021-06-30 15:19 ` Catalin Marinas
2021-06-30 23:39 ` Peter Collingbourne
2021-07-07 10:30 ` Will Deacon
2021-07-07 12:55 ` Catalin Marinas
2021-07-07 14:11 ` Will Deacon
2021-06-25 14:14 ` Szabolcs Nagy
2021-06-25 16:21 ` Tejas Belagod
2021-06-28 10:17 ` Will Deacon
2021-06-28 17:21 ` Szabolcs Nagy [this message]
2021-06-25 16:52 ` Peter Collingbourne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210628172149.GN13058@arm.com \
--to=szabolcs.nagy@arm.com \
--cc=Tejas.Belagod@arm.com \
--cc=catalin.marinas@arm.com \
--cc=eugenis@google.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=pcc@google.com \
--cc=vincenzo.frascino@arm.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).