Re: [PATCH v2 1/7] mm: remove arch_flush_lazy_mmu_mode()

From: David Hildenbrand
Date: Tue Sep 09 2025 - 05:02:15 EST


On 08.09.25 09:39, Kevin Brodsky wrote:
This function has only ever been used in arch/x86, so there is no
need for other architectures to implement it. Remove it from
linux/pgtable.h and all architectures besides x86.

The arm64 implementation is not empty but it is only called from
arch_leave_lazy_mmu_mode(), so we can simply fold it there.

Acked-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>
Signed-off-by: Kevin Brodsky <kevin.brodsky@xxxxxxx>
---

Acked-by: David Hildenbrand <david@xxxxxxxxxx>

--
Cheers

David / dhildenb