[PATCH v2 11/11] mm/io-mapping: track_pfn() -> "pfnmap tracking"

Liam R. Howlett Liam.Howlett at oracle.com
Tue May 13 17:50:56 UTC 2025


* David Hildenbrand <david at redhat.com> [250512 08:35]:
> track_pfn() does not exist, let's simply refer to it as "pfnmap
> tracking".
> 
> Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes at oracle.com>
> Acked-by: Ingo Molnar <mingo at kernel.org> # x86 bits
> Signed-off-by: David Hildenbrand <david at redhat.com>

Reviewed-by: Liam R. Howlett <Liam.Howlett at oracle.com>

> ---
>  mm/io-mapping.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/mm/io-mapping.c b/mm/io-mapping.c
> index f44a6a1347123..d3586e95c12c5 100644
> --- a/mm/io-mapping.c
> +++ b/mm/io-mapping.c
> @@ -24,7 +24,7 @@ int io_mapping_map_user(struct io_mapping *iomap, struct vm_area_struct *vma,
>  	pgprot_t remap_prot = __pgprot((pgprot_val(iomap->prot) & _PAGE_CACHE_MASK) |
>  				       (pgprot_val(vma->vm_page_prot) & ~_PAGE_CACHE_MASK));
>  
> -	/* We rely on prevalidation of the io-mapping to skip track_pfn(). */
> +	/* We rely on prevalidation of the io-mapping to skip pfnmap tracking. */
>  	return remap_pfn_range_notrack(vma, addr, pfn, size, remap_prot);
>  }
>  EXPORT_SYMBOL_GPL(io_mapping_map_user);
> -- 
> 2.49.0
> 


More information about the Intel-gfx mailing list