Re: [RFC PATCH 0/3] Allocate memmap from hotadded memory (per device)

From: David Hildenbrand
Date: Tue Oct 27 2020 - 12:40:38 EST


On 27.10.20 16:40, Oscar Salvador wrote:
On Thu, Oct 22, 2020 at 03:01:44PM +0200, David Hildenbrand wrote:
This does not go without saying that the patchset is not 100% complete.
It is missing:

- a way to disable memmap_on_memory (either sysfs or boot_time cmd)
- atm, arch_add_memory for s390 screams if an altmap is passed.
I am still thinking of a way to nicely drop handle that.
Maybe a function in s390 that sets memmap_on_memory false and
stuff that check in support_memmap_on_memory function.

Or simply implement altmap support ... shouldn't be too hard :)

Yeah, I guess so, but first I would like to have everything else settled.
So, gentle ping :-)


I'm planning on looking into patch #2/3 later this or next week (this week is open source summit / KVM Forum).

One thing to look into right now is how to make this fly this with vmemmap optimizations for hugetlb pages.

https://lkml.kernel.org/r/20201026145114.59424-1-songmuchun@xxxxxxxxxxxxx

--
Thanks,

David / dhildenb