From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752621AbcEIUMD (ORCPT ); Mon, 9 May 2016 16:12:03 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:53255 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751499AbcEIUMA (ORCPT ); Mon, 9 May 2016 16:12:00 -0400 Date: Mon, 9 May 2016 13:11:58 -0700 From: Andrew Morton To: Reza Arbab Cc: Greg Kroah-Hartman , Daniel Kiper , Dan Williams , Vlastimil Babka , Tang Chen , Joonsoo Kim , David Vrabel , Vitaly Kuznetsov , David Rientjes , Andrew Banman , Chen Yucong , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Yasunori Goto , Yasuaki Ishimatsu , Zhang Zhen , Shaohua Li Subject: Re: [PATCH 0/3] memory-hotplug: improve rezoning capability Message-Id: <20160509131158.d5429d4dba4a24c5b1aac9ca@linux-foundation.org> In-Reply-To: <1462816419-4479-1-git-send-email-arbab@linux.vnet.ibm.com> References: <1462816419-4479-1-git-send-email-arbab@linux.vnet.ibm.com> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 9 May 2016 12:53:36 -0500 Reza Arbab 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.