Re: [PATCH v3 2/3] mm: Refactor update_mmu_tlb()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

Thanks for you review!

On 2024/5/21 17:36, David Hildenbrand wrote:
On 18.05.24 09:49, Bang Li wrote:
Remove update_mmu_tlb() from those architectures and define
generically via update_mmu_tlb_range(), removing the ability
for arches to override it.

I'd suggest something like

"mm: implement update_mmu_tlb() using update_mmu_tlb_range()

Let's make update_mmu_tlb() simply a generic wrapper around update_mmu_tlb_range(). Only the latter can now be overridden by the architecture. We can now remove __HAVE_ARCH_UPDATE_MMU_TLB as well.
"

Agree! Thank you for your suggestion, I will modify it in the next version


[...]

+#ifndef update_mmu_tlb_range
+static inline void update_mmu_tlb_range(struct vm_area_struct *vma,
+                unsigned long address, pte_t *ptep, unsigned int nr)
+{
+}
+#endif

With that in patch #1

Thanks again.
Bang


Acked-by: David Hildenbrand <david@xxxxxxxxxx>





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux