Re: [PATCH] mm: Export PageHeadHuge()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 17, 2021 at 01:20:02PM +0000, Matthew Wilcox wrote:
> 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.

Move enum compound_dtor_id to mm_types.h?

-- 
 Kirill A. Shutemov




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux