Re: [PATCH v1 13/36] mm/hugetlb: cleanup hugetlb_folio_init_tail_vmemmap()
From: David Hildenbrand
Date: Fri Aug 29 2025 - 07:59:47 EST
On 28.08.25 17:37, Lorenzo Stoakes wrote:
On Thu, Aug 28, 2025 at 12:01:17AM +0200, David Hildenbrand wrote:
We can now safely iterate over all pages in a folio, so no need for the
pfn_to_page().
Also, as we already force the refcount in __init_single_page() to 1,
Mega huge nit (ignore if you want), but maybe worth saying 'via
init_page_count()'.
Will add, thanks!
--
Cheers
David / dhildenb