Messages in this thread |  | | From | osalvador@techadve ... | Subject | [PATCH v2 0/3] Refactoring for remove_memory_section/unregister_mem_sect_under_nodes | Date | Mon, 13 Aug 2018 17:46:36 +0200 |
| |
From: Oscar Salvador <osalvador@suse.de>
This patchset does some cleanups and refactoring in the memory-hotplug code.
The first and the second patch are pretty straightforward, as they only remove unused arguments/checks.
The third one refactors unregister_mem_sect_under_nodes. This is needed to have a proper fallback in case we could not allocate memory. (details can be seen in patch3).
Oscar Salvador (3): mm/memory-hotplug: Drop unused args from remove_memory_section mm/memory_hotplug: Drop mem_blk check from unregister_mem_sect_under_nodes mm/memory_hotplug: Refactor unregister_mem_sect_under_nodes
drivers/base/memory.c | 5 ++--- drivers/base/node.c | 30 +++++++++++++++--------------- include/linux/node.h | 5 ++--- 3 files changed, 19 insertions(+), 21 deletions(-)
-- 2.13.6
|  |