Messages in this thread | | | Date | Tue, 30 May 2017 10:05:04 -0500 | From | Reza Arbab <> | Subject | Re: [PATCH 3/3] mm, memory_hotplug: move movable_node to the hotplug proper |
| |
On Mon, May 29, 2017 at 01:41:41PM +0200, Michal Hocko wrote: >movable_node_is_enabled is defined in memblock proper while it >is initialized from the memory hotplug proper. This is quite messy >and it makes a dependency between the two so move movable_node along >with the helper functions to memory_hotplug. > >To make it more entertaining the kernel parameter is ignored unless >CONFIG_HAVE_MEMBLOCK_NODE_MAP=y because we do not have the node >information for each memblock otherwise. So let's warn when the option >is disabled.
Acked-by: Reza Arbab <arbab@linux.vnet.ibm.com>
-- Reza Arbab
| |