Re: [PATCH v2 2/2] mm, memory_hotplug: optimize memory hotplug

2018-02-01 Thread kbuild test robot
Hi Pavel, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on mmotm/master] [also build test WARNING on next-20180201] [cannot apply to v4.15] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://githu

[PATCH v2 2/2] mm, memory_hotplug: optimize memory hotplug

2018-01-31 Thread Pavel Tatashin
This patch was inspired by the discussion of this problem: http://lkml.kernel.org/r/20180130083006.gb1...@in.ibm.com Currently, during memory hotplugging we traverse struct pages several times: 1. memset(0) in sparse_add_one_section() 2. loop in __add_section() to set do: set_page_node(page, nid)