From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752813AbcEIUNR (ORCPT ); Mon, 9 May 2016 16:13:17 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:53267 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752139AbcEIUNM (ORCPT ); Mon, 9 May 2016 16:13:12 -0400 Date: Mon, 9 May 2016 13:13:11 -0700 From: Andrew Morton To: Reza Arbab , 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: <20160509131311.a530386865e150eff00288a9@linux-foundation.org> In-Reply-To: <20160509131158.d5429d4dba4a24c5b1aac9ca@linux-foundation.org> References: <1462816419-4479-1-git-send-email-arbab@linux.vnet.ibm.com> <20160509131158.d5429d4dba4a24c5b1aac9ca@linux-foundation.org> 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 13:11:58 -0700 Andrew Morton wrote: > 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? err, make that 4.8-rc1. > Hopefully the other memory-hotplug developers will be able to find time > to review these.