Re: [PATCH v6 06/12] mm/hotplug: Add mem-hotplug restrictions for remove_memory()

2019-04-24 Thread Dan Williams
On Tue, Apr 23, 2019 at 2:21 PM David Hildenbrand wrote: > > On 17.04.19 20:39, Dan Williams wrote: > > Teach the arch_remove_memory() path to consult the same 'struct > > mhp_restrictions' context as was specified at arch_add_memory() time. > > > > No functional change, this is a preparation step

Re: [PATCH v6 06/12] mm/hotplug: Add mem-hotplug restrictions for remove_memory()

2019-04-23 Thread David Hildenbrand
On 17.04.19 20:39, Dan Williams wrote: > Teach the arch_remove_memory() path to consult the same 'struct > mhp_restrictions' context as was specified at arch_add_memory() time. > > No functional change, this is a preparation step for teaching > __remove_pages() about how and when to allow sub-sect

[PATCH v6 06/12] mm/hotplug: Add mem-hotplug restrictions for remove_memory()

2019-04-17 Thread Dan Williams
Teach the arch_remove_memory() path to consult the same 'struct mhp_restrictions' context as was specified at arch_add_memory() time. No functional change, this is a preparation step for teaching __remove_pages() about how and when to allow sub-section hot-remove, and a cleanup for an unnecessary