[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1462816419-4479-1-git-send-email-arbab@linux.vnet.ibm.com>
Date: Mon, 9 May 2016 12:53:36 -0500
From: Reza Arbab <arbab@...ux.vnet.ibm.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Daniel Kiper <daniel.kiper@...cle.com>,
Dan Williams <dan.j.williams@...el.com>,
Vlastimil Babka <vbabka@...e.cz>,
Tang Chen <tangchen@...fujitsu.com>,
Joonsoo Kim <iamjoonsoo.kim@....com>,
David Vrabel <david.vrabel@...rix.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
David Rientjes <rientjes@...gle.com>,
Andrew Banman <abanman@....com>, Chen Yucong <slaoub@...il.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/3] memory-hotplug: improve rezoning capability
While it is currently possible to rezone memory when it is onlined, there are
implicit assumptions about the zones:
* To "online_kernel" a block into ZONE_NORMAL, it must currently
be in ZONE_MOVABLE.
* To "online_movable" a block into ZONE_MOVABLE, it must currently
be in (ZONE_MOVABLE - 1).
So on powerpc, where new memory is hotplugged into ZONE_DMA, these operations
do not work.
This patchset replaces the qualifications above with a more general
validation of zone movement.
Reza Arbab (3):
memory-hotplug: add move_pfn_range()
memory-hotplug: more general validation of zone during online
memory-hotplug: use zone_can_shift() for sysfs valid_zones attribute
drivers/base/memory.c | 28 ++++++++++-------
include/linux/memory_hotplug.h | 2 ++
mm/memory_hotplug.c | 70 ++++++++++++++++++++++++++++++++++--------
3 files changed, 77 insertions(+), 23 deletions(-)
--
1.8.3.1
Powered by blists - more mailing lists