[PATCH] arm64: mte: Move MTE TCF0 check in entry-common
Vincenzo Frascino
vincenzo.frascino at arm.com
Thu Apr 8 16:23:27 BST 2021
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
More information about the linux-arm-kernel
mailing list