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 <[email protected]>
--
Cheers,
David / dhildenb