On 9/13/26 4:37 PM, Muchun Song wrote:
vmemmap_populate_address() no longer has any callers that need the
returned PTE. Its only remaining user, vmemmap_populate_range(), only
checks whether population succeeded.
Open-code vmemmap_populate_address() directly in
vmemmap_populate_basepages(), remove the now-redundant range helper,
and return -ENOMEM directly on failure.
Signed-off-by: Muchun Song <redacted>
---
mm/sparse-vmemmap.c | 54 ++++++++++++++-------------------------------
1 file changed, 17 insertions(+), 37 deletions(-)
Acked-by: Qi Zheng <qi.zheng@linux.dev>
Thanks,
Qi