Re: [PATCH 3/3] hugetlb: Convert remove_pool_huge_page() to return a folio

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

 




> On Aug 24, 2023, at 09:10, Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:
> 
> On Wed, Aug 23, 2023 at 03:48:13PM -0700, Mike Kravetz wrote:
>>> -static struct page *remove_pool_huge_page(struct hstate *h,
>>> - nodemask_t *nodes_allowed,
>>> - bool acct_surplus)
>>> +static struct folio *remove_pool_huge_page(struct hstate *h,
>>> + nodemask_t *nodes_allowed, bool acct_surplus)
>> 
>> might have been good to make a simple name change to remove_pool_huge_folio,
>> but not insisting.
> 
> I wasn't sure what we were calling it now.  I can go for huge_folio.
> 

However, there are so many places where it is hugetlb_folio, so I'd suggest
hugetlb_folio.

Thanks.






[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