Re: [PATCH 06/12] mm: hugetlb_vmemmap: rename vmemmap_remap_pte() to vmemmap_optimize_pte()

From: Lance Yang

Date: Thu Oct 22 2026 - 20:56:38 EST



On Tue, Oct 20, 2026 at 07:58:18PM +0800, Muchun Song wrote:
>Both optimization and restoration update vmemmap PTEs by remapping them,
>so "remap" does not identify the callback's role. Use "optimize" for the
>optimization callback to match "restore" and make the two directions
>explicit and consistent.
>
>No functional change intended.
>
>Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
>---

Reviewed-by: Lance Yang <lance.yang@xxxxxxxxx>