[PATCH 0/5] mm: Cleanup & allow modules to hotplug memory

From: Alastair D'Silva
Date: Mon Jun 17 2019 - 00:43:18 EST

From: Alastair D'Silva <alastair@xxxxxxxxxxx>

This series addresses some minor issues found when developing a
persistent memory driver.

As well as cleanup code, it also exports try_online_node so that
it can be called from driver modules that provide access to additional
physical memory.

Alastair D'Silva (5):
mm: Trigger bug on if a section is not found in __section_nr
mm: don't hide potentially null memmap pointer in
mm: Don't manually decrement num_poisoned_pages
mm/hotplug: Avoid RCU stalls when removing large amounts of memory
mm/hotplug: export try_online_node

include/linux/memory_hotplug.h | 4 ++--
kernel/cpu.c | 2 +-
mm/memory_hotplug.c | 23 ++++++++++++++++++-----
mm/sparse.c | 28 +++++++++++++++++-----------
4 files changed, 38 insertions(+), 19 deletions(-)