linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] mm/memory_hotplug: pass in nid to online_pages()
@ 2020-01-13 11:33 David Hildenbrand
  2020-01-13 11:33 ` [PATCH v1 1/2] " David Hildenbrand
  2020-01-13 11:33 ` [PATCH v1 2/2] drivers/base/memory.c: get rid of find_memory_block() David Hildenbrand
  0 siblings, 2 replies; 4+ messages in thread
From: David Hildenbrand @ 2020-01-13 11:33 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-mm, David Hildenbrand, Andrew Morton, Anshuman Khandual,
	Dan Williams, Greg Kroah-Hartman, Michal Hocko, Oscar Salvador,
	Pavel Tatashin, Rafael J. Wysocki

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-14  8:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-13 11:33 [PATCH v1 0/2] mm/memory_hotplug: pass in nid to online_pages() David Hildenbrand
2020-01-13 11:33 ` [PATCH v1 1/2] " David Hildenbrand
2020-01-13 11:33 ` [PATCH v1 2/2] drivers/base/memory.c: get rid of find_memory_block() David Hildenbrand
2020-01-14  8:24   ` David Hildenbrand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).