Re: [PATCH v5 03/38] mm: Add generic flush_icache_pages() and documentation

From: Randy Dunlap
Date: Mon Jul 10 2023 - 18:23:58 EST




On 7/10/23 13:43, Matthew Wilcox (Oracle) wrote:
> -5) ``void update_mmu_cache(struct vm_area_struct *vma,
> - unsigned long address, pte_t *ptep)``
> +5) ``void update_mmu_cache_range(struct vm_fault *vmf,
> + struct vm_area_struct *vma, unsigned long address, pte_t *ptep,
> + unsigned int nr)``
>
> - At the end of every page fault, this routine is invoked to
> - tell the architecture specific code that a translation
> - now exists at virtual address "address" for address space
> - "vma->vm_mm", in the software page tables.
> + At the end of every page fault, this routine is invoked to tell
> + the architecture specific code that translations now exists

exist

> + in the software page tables for address space "vma->vm_mm"
> + at virtual address "address" for "nr" consecutive pages.

--
~Randy