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

From: Alastair D'Silva
Date: Wed Jun 26 2019 - 02:11:49 EST


From: Alastair D'Silva <alastair@xxxxxxxxxxx>

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

Changelog:
V2:
- Drop mm/hotplug: export try_online_node
(not necessary)
- Return errors from __section_nr
- Remove errant whitespace change in
mm: don't hide potentially null memmap pointer
- Rework mm: don't hide potentially null memmap pointer
to use a start & count
- Drop mm/hotplug: Avoid RCU stalls when removing large amounts of memory
(similar patch already went in)

Alastair D'Silva (3):
mm: Trigger bug on if a section is not found in __section_nr
mm: don't hide potentially null memmap pointer in
sparse_remove_one_section
mm: Don't manually decrement num_poisoned_pages

drivers/base/memory.c | 18 +++++++++++++++---
mm/sparse.c | 21 +++++++++++++++------
2 files changed, 30 insertions(+), 9 deletions(-)

--
2.21.0