Messages in this thread | | | Date | Thu, 27 Jul 2017 08:56:52 +0200 | From | Michal Hocko <> | Subject | Re: [RFC PATCH 0/5] mm, memory_hotplug: allocate memmap from hotadded memory |
| |
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
| |