Re: [RFC PATCH 0/3] Allocate memmap from hotadded memory (per device)
From: Mike Kravetz
Date: Wed Oct 28 2020 - 21:56:22 EST
On 10/27/20 8:58 AM, Oscar Salvador wrote:
> On Tue, Oct 27, 2020 at 04:44:33PM +0100, David Hildenbrand wrote:
>> I'm planning on looking into patch #2/3 later this or next week (this week
>> is open source summit / KVM Forum).
>
> Sure, aprecciated the time ;-)
>
>>
>> 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
>
> I was about to have a look at that series eitherway, but good you mentioned.
>
More eyes on that series would be appreciated.
That series will dynamically free and allocate memmap pages as hugetlb
pages are allocated or freed. I haven't looked through this series, but
my first thought is that we would need to ensure those allocs/frees are
directed to the device. Not sure if there are interfaces for that.
--
Mike Kravetz