Re: [PATCH 03/12] mm: hugetlb_vmemmap: simplify vmemmap head page handling
From: Lance Yang
Date: Thu Oct 22 2026 - 03:23:49 EST
On Tue, Oct 20, 2026 at 07:58:15PM +0800, Muchun Song wrote:
[...]
>@@ -289,7 +290,6 @@ static int vmemmap_remap_split(unsigned long start, unsigned long end)
> * to remap.
> * @end: end address of the vmemmap virtual address range that we want to
> * remap.
>- * @vmemmap_head: the page to be installed as first in the vmemmap range
> * @vmemmap_tail: the page to be installed as non-first in the vmemmap range
> * @vmemmap_pages: list to deposit vmemmap pages to be freed. It is callers
> * responsibility to free pages.
>@@ -298,7 +298,6 @@ static int vmemmap_remap_split(unsigned long start, unsigned long end)
> * Return: %0 on success, negative error code otherwise.
> */
/**
* vmemmap_remap_free - remap the vmemmap virtual address range [@start, @end)
* to use @vmemmap_head/tail, then free vmemmap which
* the range are mapped to.
Nit: could you update the @vmemmap_head/tail comment too, now that the
head argument is gone?
Nothing jumped out at me, so
Reviewed-by: Lance Yang <lance.yang@xxxxxxxxx>