From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9DDDB459C0; Tue, 17 Sep 2024 18:11:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7409D40280; Tue, 17 Sep 2024 18:11:16 +0200 (CEST) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mails.dpdk.org (Postfix) with ESMTP id 14FAD40261 for ; Tue, 17 Sep 2024 18:11:14 +0200 (CEST) Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4X7RWM0RDpz67Cwc; Wed, 18 Sep 2024 00:07:27 +0800 (CST) Received: from frapeml500006.china.huawei.com (unknown [7.182.85.219]) by mail.maildlp.com (Postfix) with ESMTPS id 718CE140159; Wed, 18 Sep 2024 00:11:13 +0800 (CST) Received: from frapeml500007.china.huawei.com (7.182.85.172) by frapeml500006.china.huawei.com (7.182.85.219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Tue, 17 Sep 2024 18:11:13 +0200 Received: from frapeml500007.china.huawei.com ([7.182.85.172]) by frapeml500007.china.huawei.com ([7.182.85.172]) with mapi id 15.01.2507.039; Tue, 17 Sep 2024 18:11:13 +0200 From: Konstantin Ananyev To: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , "dev@dpdk.org" CC: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= , "Stephen Hemminger" , Konstantin Ananyev , David Marchand , Jerin Jacob Subject: RE: [PATCH v4 1/7] eal: add static per-lcore memory allocation facility Thread-Topic: [PATCH v4 1/7] eal: add static per-lcore memory allocation facility Thread-Index: AQHbCCfu/ChzCKfo7k645pI+U0QOKbJabPRggAF88wCAAD034A== Date: Tue, 17 Sep 2024 16:11:13 +0000 Message-ID: <78410500adf8482c97b15ae72b635df0@huawei.com> References: <20240912084429.703405-2-mattias.ronnblom@ericsson.com> <20240916105210.721315-1-mattias.ronnblom@ericsson.com> <20240916105210.721315-2-mattias.ronnblom@ericsson.com> <23d1b3c5828546128b9ed21e98ac1ae1@huawei.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.206.138.42] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org PiA+PiArDQo+ID4+ICsvKioNCj4gPj4gKyAqIEdldCBwb2ludGVyIHRvIGxjb3JlIHZhcmlhYmxl IGluc3RhbmNlIHdpdGggdGhlIHNwZWNpZmllZCBsY29yZSBpZC4NCj4gPj4gKyAqDQo+ID4+ICsg KiBAcGFyYW0gbGNvcmVfaWQNCj4gPj4gKyAqICAgVGhlIGxjb3JlIGlkIHNwZWNpZnlpbmcgd2hp Y2ggb2YgdGhlIEBjIFJURV9NQVhfTENPUkUgdmFsdWUNCj4gPj4gKyAqICAgaW5zdGFuY2VzIHNo b3VsZCBiZSBhY2Nlc3NlZC4gVGhlIGxjb3JlIGlkIG5lZWQgbm90IGJlIHZhbGlkDQo+ID4+ICsg KiAgIChlLmcuLCBtYXkgYmUgQHJlZiBMQ09SRV9JRF9BTlkpLCBidXQgaW4gc3VjaCBhIGNhc2Us IHRoZSBwb2ludGVyDQo+ID4+ICsgKiAgIGlzIGFsc28gbm90IHZhbGlkIChhbmQgdGh1cyBzaG91 bGQgbm90IGJlIGRlcmVmZXJlbmNlZCkuDQo+ID4+ICsgKiBAcGFyYW0gaGFuZGxlDQo+ID4+ICsg KiAgIFRoZSBsY29y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