Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D410DC433F5 for ; Tue, 7 Dec 2021 05:37:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235738AbhLGFlX (ORCPT ); Tue, 7 Dec 2021 00:41:23 -0500 Received: from szxga02-in.huawei.com ([45.249.212.188]:28279 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234147AbhLGFlW (ORCPT ); Tue, 7 Dec 2021 00:41:22 -0500 Received: from kwepemi100007.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4J7Tb66V4FzbjHn; Tue, 7 Dec 2021 13:37:38 +0800 (CST) Received: from kwepemm600016.china.huawei.com (7.193.23.20) by kwepemi100007.china.huawei.com (7.221.188.115) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 7 Dec 2021 13:37:50 +0800 Received: from kwepemm600014.china.huawei.com (7.193.23.54) by kwepemm600016.china.huawei.com (7.193.23.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 7 Dec 2021 13:37:50 +0800 Received: from kwepemm600014.china.huawei.com ([7.193.23.54]) by kwepemm600014.china.huawei.com ([7.193.23.54]) with mapi id 15.01.2308.020; Tue, 7 Dec 2021 13:37:50 +0800 From: "Song Bao Hua (Barry Song)" To: Robin Murphy , Jay Chen , "hch@lst.de" , "m.szyprowski@samsung.com" , "linux-kernel@vger.kernel.org" , "iommu@lists.linux-foundation.org" CC: "zhangliguang@linux.alibaba.com" Subject: RE: [RFC PATCH] provide per numa cma with an initial default size Thread-Topic: [RFC PATCH] provide per numa cma with an initial default size Thread-Index: AQHX5b5WdkB1fqcI6kSRZ5Tsh5qqyawlEoQAgAF5HwA= Date: Tue, 7 Dec 2021 05:37:50 +0000 Message-ID: References: <20211130074556.11091-1-jkchen@linux.alibaba.com> In-Reply-To: Accept-Language: en-GB, zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.126.201.109] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogUm9iaW4gTXVycGh5IFtt YWlsdG86cm9iaW4ubXVycGh5QGFybS5jb21dDQo+IFNlbnQ6IFR1ZXNkYXksIERlY2VtYmVyIDcs IDIwMjEgNDowMSBBTQ0KPiBUbzogSmF5IENoZW4gPGprY2hlbkBsaW51eC5hbGliYWJhLmNvbT47 IGhjaEBsc3QuZGU7IG0uc3p5cHJvd3NraUBzYW1zdW5nLmNvbTsNCj4gbGludXgta2VybmVsQHZn ZXIua2VybmVsLm9yZzsgaW9tbXVAbGlzdHMubGludXgtZm91bmRhdGlvbi5vcmc7IFNvbmcgQmFv IEh1YQ0KPiAoQmFycnkgU29uZykgPHNvbmcuYmFvLmh1YUBoaXNpbGljb24uY29tPg0KPiBDYzog emhhbmdsaWd1YW5nQGxpbnV4LmFsaWJhYmEuY29tDQo+IFN1YmplY3Q6IFJlOiBbUkZDIFBBVENI XSBwcm92aWRlIHBlciBudW1hIGNtYSB3aXRoIGFuIGluaXRpYWwgZGVmYXVsdCBzaXplDQo+IA0K PiBbICtCYXJyeSBdDQo+IA0KPiBPbiAyMDIxLTExLTMwIDA3OjQ1LCBKYXkgQ2hlbiB3cm90ZToN Cj4gPiAgICBJbiB0aGUgYWN0dWFsIHByb2R1Y3Rpb24gZW52aXJvbm1lbnQsIHdoZW4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