[PATCH v3 08/10] mm: remove ARCH_NEEDS_KMAP_HIGH_GET

David Hildenbrand (Arm) david at kernel.org
Tue Nov 17 02:05:37 PST 2026


On 11/16/26 13:48, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd at arndb.de>
> 
> Arm has stopped setting ARCH_NEEDS_KMAP_HIGH_GET, so this
> is handled using the same wrappers across all architectures
> now, which leaves room for simplification.
> 
> Replace lock_kmap()/unlock_kmap() with open-coded spinlocks
> and drop the now empty arch_kmap_local_high_get() and
> kmap_high_unmap_local() helpers.
> 
> Acked-by: Mike Rapoport (Microsoft) <rppt at kernel.org>
> Acked-by: Lorenzo Stoakes (ARM) <ljs at kernel.org>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> ---

Acked-by: David Hildenbrand (Arm) <david at kernel.org>

-- 
Cheers,

David



More information about the linux-arm-kernel mailing list