Re: [PATCH] mm: export folio_pte_batch as a couple of modules might need it

David Hildenbrand
2024-02-27T09:18:13Z

On 27.02.24 03:40, Barry Song wrote:
> From: Barry Song <v-songbaohua@oppo.com>
>

Nit: "mm: make folio_pte_batch available outside of mm/memory.c"

> madvise and some others might need folio_pte_batch to check if a range
> of PTEs are completely mapped to a large folio with contiguous physcial

s/physcial/physical/

> addresses. Let's export it for others to use.
>

Nit: "Let's make it available in mm/internal.h"

(talking about exporting and modules sounds like EXPORT_SYMBOL)

> Cc: Lance Yang <ioworker0@gmail.com>
> Cc: Ryan Roberts <ryan.roberts@arm.com>
> Cc: David Hildenbrand <david@redhat.com>
> Cc: Yin Fengwei <fengwei.yin@intel.com>
> Signed-off-by: Barry Song <v-songbaohua@oppo.com>

--
Cheers,

David / dhildenb