lkml.org 
[lkml]   [2018]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] Refactoring for remove_memory_section/unregister_mem_sect_under_nodes
Date
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

\
 
 \ /
  Last update: 2018-08-13 17:48    [W:0.076 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site