Re: [PATCH v2] ARM: asid: Do not replace active_asids if already 0
From: Catalin Marinas
Date: Thu Aug 27 2026 - 06:27:06 EST
On Sun, Aug 09, 2026 at 08:06:00PM +0200, Karl Mehltretter wrote:
> This is similar to the arm64 patch [1], with the difference that
> 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.
--
Catalin