lkml.org 
[lkml]   [2020]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v1 0/2] mm/memory_hotplug: pass in nid to online_pages()
Date
Simplify onlining code and get rid of find_memory_block(). Pass in the
nid from the memory block we are trying to online directly, instead of
manually looking it up.

David Hildenbrand (2):
mm/memory_hotplug: pass in nid to online_pages()
drivers/base/memory.c: get rid of find_memory_block()

drivers/base/memory.c | 15 ++++-----------
include/linux/memory.h | 1 -
include/linux/memory_hotplug.h | 3 ++-
mm/memory_hotplug.c | 13 ++-----------
4 files changed, 8 insertions(+), 24 deletions(-)

--
2.24.1

\
 
 \ /
  Last update: 2020-01-13 12:34    [W:0.054 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site