[PATCH 0/2] Preparing memhotplug for allocating memmap from hot-added range

From: Oscar Salvador
Date: Thu Apr 04 2019 - 08:59:42 EST


Hi,

these patches were posted as part of patchset [1], but it was agreed that
patch#3 must be further discussed.
Whole discussion can be seen in the cover letter.

But the first two patches make sense by themselves, as the first one is a nice
code cleanup, and the second one sets up the interface that the feature implemented
in [1] will use.

We decided to go this way because there are other people working on the same area,
and conflicts can arise easily, so better merge it now.
Also, it is safe as they do not implement any functional changes.

[1] https://patchwork.kernel.org/cover/10875017/

Michal Hocko (2):
mm, memory_hotplug: cleanup memory offline path
mm, memory_hotplug: provide a more generic restrictions for memory
hotplug

arch/arm64/mm/mmu.c | 6 ++---
arch/ia64/mm/init.c | 6 ++---
arch/powerpc/mm/mem.c | 6 ++---
arch/s390/mm/init.c | 6 ++---
arch/sh/mm/init.c | 6 ++---
arch/x86/mm/init_32.c | 6 ++---
arch/x86/mm/init_64.c | 10 ++++----
include/linux/memory_hotplug.h | 32 ++++++++++++++++++------
kernel/memremap.c | 10 +++++---
mm/memory_hotplug.c | 56 ++++++++++++++----------------------------
mm/page_alloc.c | 11 +++++++--
11 files changed, 82 insertions(+), 73 deletions(-)

--
2.13.7