On Thu, Dec 08, 2022 at 12:35:00PM -0800, Vishal Moola (Oracle) wrote: > Introduce a wrapper function called vm_normal_folio(). This function > calls vm_normal_page() and returns the folio of the page found, or null > if no page is found. > > This function allows callers to get a folio from a pte, which will > eventually allow them to completely replace their struct page variables > with struct folio instead. > > Signed-off-by: Vishal Moola (Oracle) <vishal.moola@xxxxxxxxx> Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>