Messages in this thread | | | Subject | Re: [PATCH] arm64: mte: Move MTE TCF0 check in entry-common | From | Vincenzo Frascino <> | Date | Thu, 8 Apr 2021 16:23:27 +0100 |
| |
On 4/8/21 4:06 PM, Mark Rutland wrote: > On Thu, Apr 08, 2021 at 03:56:04PM +0100, Will Deacon wrote: >> On Thu, Apr 08, 2021 at 03:37:23PM +0100, Vincenzo Frascino wrote: >>> The check_mte_async_tcf macro sets the TIF flag non-atomically. This can >>> race with another CPU doing a set_tsk_thread_flag() and the flag can be >>> lost in the process. >> >> Actually, it's all the *other* flags that get lost! >>
You are right, I need to explain this better.
...
-- Regards, Vincenzo
| |