Re: [PATCH 3/8] mm: use vmem_altmap code without CONFIG_ZONE_DEVICE

David Hildenbrand
2023-11-16T18:43:11Z

On 14.11.23 19:02, Sumanth Korikkar wrote:
> vmem_altmap_free() and vmem_altmap_offset() could be utlized without
> CONFIG_ZONE_DEVICE enabled. Hence, move it to sparse-vmemmap.c

Maybe give an example: For example mm/memory_hotplug.c:__add_pages()
relies on that.

The altmap is no longer restricted to ZONE_DEVICE handling.

Reviewed-by: David Hildenbrand <david@redhat.com>

--
Cheers,

David / dhildenb