On 27.02.24 03:40, Barry Song wrote:
From: Barry Song <v-songbaohua@xxxxxxxx>
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@xxxxxxxxx> Cc: Ryan Roberts <ryan.roberts@xxxxxxx> Cc: David Hildenbrand <david@xxxxxxxxxx> Cc: Yin Fengwei <fengwei.yin@xxxxxxxxx> Signed-off-by: Barry Song <v-songbaohua@xxxxxxxx>
-- Cheers, David / dhildenb