[PATCH v3 5/5] mm/sparse-vmemmap: drop @pgmap from vmemmap population APIs
Oscar Salvador (SUSE)
osalvador at kernel.org
Mon Nov 9 01:24:19 PST 2026
On Sat, Nov 07, 2026 at 12:31:22PM +0800, Muchun Song wrote:
> The vmemmap population and memory hotplug paths no longer need @pgmap
> to decide whether a mapping can be optimized. That state is now carried
> in mem_section, and the architecture-specific population code can make
> the remaining decisions internally.
>
> Drop the @pgmap parameter from the vmemmap population helpers and the
> related memory hotplug interfaces, and remove the remaining
> dev_pagemap-specific coupling from those call chains.
>
> Signed-off-by: Muchun Song <songmuchun at bytedance.com>
Reviewed-by: Oscar Salvador (SUSE) <osalvador at kernel.org>
--
Oscar Salvador
SUSE Labs
More information about the linux-riscv
mailing list