Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp74825img; Wed, 27 Mar 2019 17:17:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqKwupQ1zZNDjSl3lDXItcOoWA+Tk7OhwZhuUPN3aTIOXAuwT5u4OcIq1vRB4sVYM39f0/ X-Received: by 2002:a17:902:2a03:: with SMTP id i3mr41314946plb.229.1553732228540; Wed, 27 Mar 2019 17:17:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553732228; cv=none; d=google.com; s=arc-20160816; b=ByTQoBouv3JGrl39Z4drd9Mz6HUcP2c1VpmLwG/KEDoTqM4OZ4puMpSgfDfC86zd// xNKhJRNcJOUHcJQJ9oWtXzUPl5FTuMDVMNzp+uS0notaBhwSn1lxVBfd001JmivuezF3 k0j1hKE+a736RZKEFddgJeEXZDdfwDPW2osRYosUJqNPTWjogkN4seFs3jjQgl0caeQQ uXsVNLPKzIlCu2l0oqb7gRV0Jw1/Dvd9KamPdZZWUY0sbxnecZ3fKxsGHKH/rPtjOVVA ZMI2EPchXS5m+hmtYRFCwRRaAFtDD3ftLsIR5m+7Nj3ssackwjiwE3ueegLdWY5fgQfx OSBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=F8Nl+LbS1oTra1GUkJRh6vH5fY1CgDZ0LbLXhc3xcZk=; b=oVjSJ6qpgxZLpyDtXj4or7PLCS78xDB3Lmp9hXsXh2nvoNONYhJHzMUOjYXlQhzwL7 jEIC30atBzcf+Rm//443rs1H9g7oB9Gff7qDXLU7kmzGEX7VrM1L8BkNigeBpS3vygpe 17b9EVKfuP2eHvkJIeqjDsnn1UTyR58+L8k+qr9XARK+fj7eV+kqJhZdsEtvNK25YveQ dl83QXBh4UKJew+bM1aP758h5x9tBwkzBq5zqVUejsTW8BAs3i3iEABAl1Gyk3jkwwqR IbszGgC6aZvn41m96QDBsOI1fyZCGfI9alHqAJGJ8+oXrKoZX+Wa84Hjv8mTbvvigQXe KJYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y18si1982936pll.172.2019.03.27.17.16.52; Wed, 27 Mar 2019 17:17:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727225AbfC1AQL (ORCPT + 99 others); Wed, 27 Mar 2019 20:16:11 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:51984 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726100AbfC1AQL (ORCPT ); Wed, 27 Mar 2019 20:16:11 -0400 Received: from p5492e2fc.dip0.t-ipconnect.de ([84.146.226.252] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1h9IiG-0005s6-LK; Thu, 28 Mar 2019 01:16:08 +0100 Date: Thu, 28 Mar 2019 01:16:08 +0100 (CET) From: Thomas Gleixner To: Wei Yang cc: Wei Yang , x86@kernel.org, linux-kernel@vger.kernel.org, dave.hansen@linux.intel.com, luto@kernel.org, peterz@infradead.or Subject: Re: [PATCH 4/6] x86, mm: make split_mem_range() more easy to read In-Reply-To: <20190327220513.p4qrgxhvmvgooxjv@master> Message-ID: References: <20190212021215.13247-1-richardw.yang@linux.intel.com> <20190212021215.13247-5-richardw.yang@linux.intel.com> <20190327220513.p4qrgxhvmvgooxjv@master> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Wei, On Wed, 27 Mar 2019, Wei Yang wrote: > On Sun, Mar 24, 2019 at 03:29:04PM +0100, Thomas Gleixner wrote: > >Note, it's a combo of changes (including your patch 1/6) and needs to be > >split up. It would be nice if you have time to split it up into separate > >patches, add proper changelogs and test the heck out of it on both 32 and > >64 bit. If you don't have time, please let me know. > > > > Thanks for your suggestions :-) > > Just get my head up, will try to understand the code and test on both > arch. > > BTW, do you have some suggestions in the test? Currently I just use > bootup test. Basicly I think this is fine to cover the cases. Maybe you > would have some better idea. This is about bootup in the first place. After that memory hotplug which you can emulate with qemu/kvm IIRC. The important part about testing is to have systems which expose a wide variety memory layouts. Thanks, tglx