Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp81055img; Wed, 27 Mar 2019 17:26:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqwehGrGIedl9jpLod/hfdmOY6VtV1mrT29FoJseDO6+4NkxspHkWkGFs+ewR3si0QII8ckd X-Received: by 2002:a63:145b:: with SMTP id 27mr36526353pgu.74.1553732812373; Wed, 27 Mar 2019 17:26:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553732812; cv=none; d=google.com; s=arc-20160816; b=GYJ8kXkqmV0fM+cMjUqdNa5ac5WYvS/IdDlz0Uzoo/7+c2mBWwljvuziFE7IrWo8wQ zjiWowT4Aap/HAUk7h+ioorddptMVVA/4CDP8TrW4ZABEjIIL/ySjVLHrtzDU8w5c4eu B+cVYeRFDrBk3mXP6Rbr0NRTOAAC+Rmhgof2dLDwZnPOcniKe/nOflUtkVccjg4ng/9K SGf+Mi/LWM1bZayRM8pvlwdFtqC7cT9HkMaM/zFHNn9WmOUu5z7BEE65Pe0ZTeaEY40U ABSEVUmljxXXd2xQPRhxOwMwiSJXK3k+nfdsiCHKV1wQ1SRKGPlLThBLLvni/oTxQLhm Admw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date; bh=4o9AhiYQ/ICBepBqmbHVBntSykyzPDgUcIYMP1lGcZA=; b=w0JQRE5cQKLakFebAFhYr+nohUqvvfAgT0Msat1lY3Z/loMKDQoURcd0hl9pCbyVRX wl2k4NK8qLyBTiPJ2/6/OlcNSFIGLaAzgKtVcbLv8QUuZnhLO/Xgq7SKz+9cUZBoB8Pt yVcCuEhfyPfSpA15PsCmMDRdMRifvx0ivVMHJnM5hR1JThtUM8dFrWQP6YOmh86FjU2a lXWtIZhl+hmpOQxgDMhYJLPp3qQ+TU3Zrhfooy0no24Np+0Aq/7epShfwQIuyQy5UXIM kXRUGspgsWw3dEVtEC96+ULCXgZ7YCaIY/HKltt9cmQzZY/0KTKV4QxMJm9PYtt9Ezl3 rUDw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z11si20201869pgc.145.2019.03.27.17.26.36; Wed, 27 Mar 2019 17:26:52 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727467AbfC1AZs (ORCPT + 99 others); Wed, 27 Mar 2019 20:25:48 -0400 Received: from mga03.intel.com ([134.134.136.65]:1993 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726100AbfC1AZs (ORCPT ); Wed, 27 Mar 2019 20:25:48 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Mar 2019 17:25:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,278,1549958400"; d="scan'208";a="144471874" Received: from richard.sh.intel.com (HELO localhost) ([10.239.159.54]) by FMSMGA003.fm.intel.com with ESMTP; 27 Mar 2019 17:25:45 -0700 Date: Thu, 28 Mar 2019 08:25:25 +0800 From: Wei Yang To: Thomas Gleixner Cc: Wei Yang , 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 Message-ID: <20190328002525.GA17122@richard> Reply-To: Wei Yang References: <20190212021215.13247-1-richardw.yang@linux.intel.com> <20190212021215.13247-5-richardw.yang@linux.intel.com> <20190327220513.p4qrgxhvmvgooxjv@master> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 28, 2019 at 01:16:08AM +0100, Thomas Gleixner wrote: >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. > Ok, this is not difficult. >The important part about testing is to have systems which expose a wide >variety memory layouts. > May be I can add some test with nvdimm. >Thanks, > > tglx -- Wei Yang Help you, Help me