From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751715AbcEJUjx (ORCPT ); Tue, 10 May 2016 16:39:53 -0400 Received: from e37.co.us.ibm.com ([32.97.110.158]:35075 "EHLO e37.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750922AbcEJUjw (ORCPT ); Tue, 10 May 2016 16:39:52 -0400 X-IBM-Helo: d03dlp03.boulder.ibm.com X-IBM-MailFrom: arbab@linux.vnet.ibm.com X-IBM-RcptTo: david.vrabel@citrix.com;tangchen@cn.fujitsu.com;slaoub@gmail.com;yasu.isimatu@gmail.com;rientjes@google.com;dan.j.williams@intel.com;isimatu.yasuaki@jp.fujitsu.com;linux-mm@kvack.org;iamjoonsoo.kim@lge.com;akpm@linux-foundation.org;gregkh@linuxfoundation.org;daniel.kiper@oracle.com;vkuznets@redhat.com;abanman@sgi.com;vbabka@suse.cz;linux-kernel@vger.kernel.org Date: Tue, 10 May 2016 15:39:43 -0500 From: Reza Arbab To: Yasuaki Ishimatsu Cc: Greg Kroah-Hartman , Andrew Morton , 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, Yasuaki Ishimatsu Subject: Re: [PATCH 2/3] memory-hotplug: more general validation of zone during online Message-ID: <20160510203943.GA22115@arbab-laptop.austin.ibm.com> References: <1462816419-4479-1-git-send-email-arbab@linux.vnet.ibm.com> <1462816419-4479-3-git-send-email-arbab@linux.vnet.ibm.com> <573223b8.c52b8d0a.9a3c0.6217@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <573223b8.c52b8d0a.9a3c0.6217@mx.google.com> Organization: IBM Linux Technology Center User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16051020-0025-0000-0000-00003D504FFE X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 10, 2016 at 11:08:56AM -0700, Yasuaki Ishimatsu wrote: >On Mon, 9 May 2016 12:53:38 -0500 >Reza Arbab wrote: >> * If X is lower than Y, the onlined memory must lie at the end of X. >> * If X is higher than Y, the onlined memory must lie at the start of X. > >If memory address has hole, memory address gets uncotinuous. Then memory >cannot be changed the zone by above the two conditions. So the conditions >shouold be removed. I don't understand what you mean by this. Could you give an example? -- Reza Arbab