Re: [PATCH v2] ARM: asid: Do not replace active_asids if already 0
From: Karl Mehltretter
Date: Sat Aug 29 2026 - 13:50:33 EST
On Thu, Aug 27, 2026 at 11:26:42AM +0100, Catalin Marinas wrote:
> > non-relaxed (cmp)xchg is used as in the existing ARM code.
>
> The patch is still valid. It's safe to use the relaxed accessors here if
> you want or maybe do it as a separate patch for other atomic ops in this
> code. I think at the time we added the ASID allocator, there were no
> relaxed accessors in the kernel.
>
> You can send it to Russell's patch system.
>
Done:
https://www.armlinux.org.uk/developer/patches/viewpatch.php?id=9493/1
Thanks,
Karl