Re: [RFC PATCH 0/5] mm, memory_hotplug: allocate memmap from hotadded memory
From: Michal Hocko
Date: Thu Jul 27 2017 - 02:57:30 EST
On Wed 26-07-17 17:06:59, Jerome Glisse wrote:
[...]
> This does not seems to be an opt-in change ie if i am reading patch 3
> correctly if an altmap is not provided to __add_pages() you fallback
> to allocating from begining of zone. This will not work with HMM ie
> device private memory. So at very least i would like to see some way
> to opt-out of this. Maybe a new argument like bool forbid_altmap ?
OK, I see! I will think about how to make a sane api for that.
Thanks!
--
Michal Hocko
SUSE Labs