Re: [PATCH 0/3] memory-hotplug: improve rezoning capability

From: Andrew Morton
Date: Mon May 09 2016 - 16:12:07 EST


On Mon, 9 May 2016 12:53:36 -0500 Reza Arbab <arbab@xxxxxxxxxxxxxxxxxx> wrote:

> 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.
>

The patches look good from a first scan. It's late for 4.6 so I'll
queue them for 4.7-rc1, unless there are convincing reasons otherwise?

Hopefully the other memory-hotplug developers will be able to find time
to review these.