On Wed, Nov 17, 2021 at 11:36:23AM +0300, Kirill A. Shutemov wrote: > On Tue, Nov 16, 2021 at 01:54:13PM +0000, David Howells wrote: > > Export PageHeadHuge() - it's used by folio_test_hugetlb() and thence by > > folio_file_page() and folio_contains(). > > Maybe move it to page-flag.h instead? It is trivial enough. HUGETLB_PAGE_DTOR is defined in mm.h so there's a bit of a dependency problem there.