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 EE7CB459B4; Tue, 17 Sep 2024 01:19:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8FFF840261; Tue, 17 Sep 2024 01:19:40 +0200 (CEST) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mails.dpdk.org (Postfix) with ESMTP id 1709B4021F for ; Tue, 17 Sep 2024 01:19:39 +0200 (CEST) Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4X71485STkz67Q86; Tue, 17 Sep 2024 07:15:52 +0800 (CST) Received: from frapeml100008.china.huawei.com (unknown [7.182.85.131]) by mail.maildlp.com (Postfix) with ESMTPS id 1C6271400CD; Tue, 17 Sep 2024 07:19:38 +0800 (CST) Received: from frapeml500007.china.huawei.com (7.182.85.172) by frapeml100008.china.huawei.com (7.182.85.131) 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 01:19:37 +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 01:19:37 +0200 From: Konstantin Ananyev To: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= , =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , "dev@dpdk.org" CC: "hofors@lysator.liu.se" , 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+U0QOKbJabPRggAA+SNCAAF7JwA== Date: Mon, 16 Sep 2024 23:19:37 +0000 Message-ID: <23c9dd5511d148228cec51b83b81a44d@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> <98CBD80474FA8B44BF855DF32C47DC35E9F6EF@smartserver.smartshare.dk> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35E9F6EF@smartserver.smartshare.dk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.126.170.72] 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 DQo+ID4gPiArLyoqDQo+ID4gPiArICogR2V0IHBvaW50ZXIgdG8gbGNvcmUgdmFyaWFibGUgaW5z dGFuY2Ugb2YgdGhlIGN1cnJlbnQgdGhyZWFkLg0KPiA+ID4gKyAqDQo+ID4gPiArICogTWF5IG9u bHkgYmUgdXNlZCBieSBFQUwgdGhyZWFkcyBhbmQgcmVnaXN0ZXJlZCBub24tRUFMIHRocmVhZHMu DQo+ID4gPiArICovDQo+ID4gPiArI2RlZmluZSBSVEVfTENPUkVfVkFSX1ZBTFVFKGhhbmRsZSkg XA0KPiA+ID4gKwlSVEVfTENPUkVfVkFSX0xDT1JFX1ZBTFVFKHJ0ZV9sY29yZV9pZCgpLCBoYW5k bGUpDQo+ID4NCj4gPiBXb3VsZCBpdCBtYWtlIHNlbnNlIHRvIGNoZWNrIHRoYXQgcnRlX2xjb3Jl X2lkKCkgIT0gIExDT1JFX0lEX0FOWT8NCj4gPiBBZnRlciBhbGwgaWYgcGVvcGxlIGRvIG5vdCB3 YW50IHRoaXMgZXh0cmEgY2h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