[PATCH v1 0/3] mm/memory_hotplug: Export generic_online_page()

From: David Hildenbrand
Date: Mon Sep 09 2019 - 07:48:41 EST


Based on linux/next + "[PATCH 0/3] Remove __online_page_set_limits()"

Let's replace the __online_page...() functions by generic_online_page().
Hyper-V only wants to delay the actual onlining of un-backed pages, so we
can simpy re-use the generic function.

Only compile-tested.

Cc: Souptick Joarder <jrdr.linux@xxxxxxxxx>

David Hildenbrand (3):
mm/memory_hotplug: Export generic_online_page()
hv_balloon: Use generic_online_page()
mm/memory_hotplug: Remove __online_page_free() and
__online_page_increment_counters()

drivers/hv/hv_balloon.c | 3 +--
include/linux/memory_hotplug.h | 4 +---
mm/memory_hotplug.c | 17 ++---------------
3 files changed, 4 insertions(+), 20 deletions(-)

--
2.21.0