[PATCH v2 2/5] mm/hotplug: Allow architecture override for memmap on memory feature
David Hildenbrand
david at redhat.com
Thu Jul 6 19:19:36 AEST 2023
On 06.07.23 10:50, Aneesh Kumar K.V wrote:
> Some architectures like ppc64 wants to enable this feature only with radix
> translation and their vemmap mappings have different alignment
> requirements. Add overrider for mhp_supports_memmap_on_memory() and also
> use altmap.reserve feature to adjust the pageblock alignment requirement.
>
> The patch also fallback to allocation of memmap outside memblock if the
> alignment rules are not met for memmap on memory allocation. This allows to
> use the feature more widely allocating memmap as much as possible within
> the memory block getting added.
>
> A follow patch to enable memmap on memory for ppc64 will use this.
See my other reply. Rather have another arch check then overriding it
completely.
--
Cheers,
David / dhildenb
More information about the Linuxppc-dev
mailing list