Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4298284pxu; Mon, 12 Oct 2020 15:22:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzC4E9m3VrKb4RBzgJRlQ6Ks/DcKljO+7l6NoIBxs5ateRi2fiNzbYpQKHj+1senLEJdFvF X-Received: by 2002:a50:9ea6:: with SMTP id a35mr17376527edf.52.1602541350763; Mon, 12 Oct 2020 15:22:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602541350; cv=none; d=google.com; s=arc-20160816; b=XMeImZ4j50dyYwJgnnVJqgY+3UTUR6TVRmm/xJx7HSIz7TK0kEjD1Gf8qT2uC0kpfP wPZVaqpHas2F4jUTffq2jCKmKPNGNzt3jYqWHzpb+XYcFP0cZqdG2FLfD3nsmLMAC35u Oerevmw0Qjrc2RT8gh8RtrmjbRFpvcKBd1C7/qMv4JkKILRR2CsrdWvywqLL0FYF06jS glOSOeDO93jJaz1DRG5IBlnCM8ccCFNqyt4bOQc12cJlX7o/zCJSaenrzbTWhArP3nDQ i6+VdYWLbrHRBZ84dsT9CmhkBN82HA8oOJT9484cE++jw33nOV25kDq7rDuDpmBmKfLg gYyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=SjGYa4sFny/ZlI6WKegFtzAGJnAnjaoG3rSNLuMpEik=; b=tnowGPybdsizDKCa7y9efwtzTzouTsw+qPQd28DN8i/+T1GQG4utwIXYPcf0m83pjs bTH5gtF7V6Jif5WiV3lQmArfKC24A02j6Ekl3Ac90/2s/Hheh4O5nJ+QHoxasmN677Qt M0VvQyn0Clx86mMBikgK4n6SQqR1J7Oh1HILZI+4gpakbWO5Ijf2UXZKLlvd5tvepnPf 9Lwx5dAMYp6sOb8D9nOgfMxkdSeXXGkTTx3iQpJNd+Uuk7RtMAQESgz2duye1Tc8f8us CljRmOck3PlCDegvlskfJLm9Zzi1etcrRTTZEUmblr0KSu+QiQkWmNWYqA3ya1h1Iv+A lKIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i11si13573271edl.389.2020.10.12.15.22.06; Mon, 12 Oct 2020 15:22:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727376AbgJLNZi (ORCPT + 99 others); Mon, 12 Oct 2020 09:25:38 -0400 Received: from smtp.h3c.com ([60.191.123.50]:10972 "EHLO h3cspam02-ex.h3c.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726780AbgJLNZh (ORCPT ); Mon, 12 Oct 2020 09:25:37 -0400 Received: from DAG2EX01-BASE.srv.huawei-3com.com ([10.8.0.64]) by h3cspam02-ex.h3c.com with ESMTPS id 09CDOrAF015813 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 12 Oct 2020 21:24:53 +0800 (GMT-8) (envelope-from tian.xianting@h3c.com) Received: from DAG2EX03-BASE.srv.huawei-3com.com (10.8.0.66) by DAG2EX01-BASE.srv.huawei-3com.com (10.8.0.64) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 12 Oct 2020 21:24:57 +0800 Received: from DAG2EX03-BASE.srv.huawei-3com.com ([fe80::5d18:e01c:bbbd:c074]) by DAG2EX03-BASE.srv.huawei-3com.com ([fe80::5d18:e01c:bbbd:c074%7]) with mapi id 15.01.1713.004; Mon, 12 Oct 2020 21:24:57 +0800 From: Tianxianting To: Dennis Dalessandro , "mike.marciniszyn@intel.com" , "dennis.dalessandro@intel.com" , "dledford@redhat.com" , "jgg@ziepe.ca" CC: "linux-rdma@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] IB/hfi1: Avoid allocing memory on memoryless numa node Thread-Topic: [PATCH] IB/hfi1: Avoid allocing memory on memoryless numa node Thread-Index: AQHWnuS/GGzJ/pEib0+lVn06jP77D6mTZNmAgACTMhA= Date: Mon, 12 Oct 2020 13:24:56 +0000 Message-ID: <3a00a3dced1c400bbe369348e441f7ef@h3c.com> References: <20201010085732.20708-1-tian.xianting@h3c.com> <9ba33073-044c-9da6-a90d-4626e6441793@cornelisnetworks.com> In-Reply-To: <9ba33073-044c-9da6-a90d-4626e6441793@cornelisnetworks.com> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.99.141.128] x-sender-location: DAG2 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-DNSRBL: X-MAIL: h3cspam02-ex.h3c.com 09CDOrAF015813 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgRGVubmlzDQpUaGFua3MgZm9yIHRoZSBjb21tZW50cw0KSWYgaXQgZGVwZW5kcyBvbiB4ODZf NjQsIEkgdGhpbmsgdGhpcyBpc3N1ZSBkb2Vzbid0IGV4aXN0Lg0KU29ycnkgdG8gZGlzdHVyYiB5 b3UuDQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBEZW5uaXMgRGFsZXNzYW5k cm8gW21haWx0bzpkZW5uaXMuZGFsZXNzYW5kcm9AY29ybmVsaXNuZXR3b3Jrcy5jb21dIA0KU2Vu dDogTW9uZGF5LCBPY3R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