[PATCH v1 0/2] mm/memory_hotplug: pass in nid to online_pages()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux