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 1904745B44; Tue, 15 Oct 2024 22:19:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A24C64025D; Tue, 15 Oct 2024 22:19:52 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 069C440144 for ; Tue, 15 Oct 2024 22:19:51 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id C981A20CA3; Tue, 15 Oct 2024 22:19:51 +0200 (CEST) Content-class: urn:content-classes:message Subject: RE: [PATCH v13 1/7] eal: add static per-lcore memory allocation facility Date: Tue, 15 Oct 2024 22:19:48 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F7E5@smartserver.smartshare.dk> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v13 1/7] eal: add static per-lcore memory allocation facility Thread-Index: AdsfNNX0hCzOciGCQzeU+5HjnnBFwAABrv2w X-MimeOLE: Produced By Microsoft Exchange V6.5 References: <20241015065505.823840-2-mattias.ronnblom@ericsson.com> <20241015093344.824073-1-mattias.ronnblom@ericsson.com> <20241015093344.824073-2-mattias.ronnblom@ericsson.com> <98CBD80474FA8B44BF855DF32C47DC35E9F7DB@smartserver.smartshare.dk> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: =?UTF-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , =?UTF-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , Cc: "Stephen Hemminger" , "Konstantin Ananyev" , "David Marchand" , "Jerin Jacob" , "Luka Jankovic" , "Konstantin Ananyev" , "Chengwen Feng" 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 PiBGcm9tOiBNYXR0aWFzIFLDtm5uYmxvbSBbbWFpbHRvOmhvZm9yc0BseXNhdG9yLmxpdS5zZV0N Cj4gU2VudDogVHVlc2RheSwgMTUgT2N0b2JlciAyMDI0IDIxLjAzDQo+IA0KPiBPbiAyMDI0LTEw LTE1IDEyOjEzLCBNb3J0ZW4gQnLDuHJ1cCB3cm90ZToNCj4gPj4gK3ZvaWQgKg0KPiA+PiArcnRl X2xjb3JlX3Zhcl9hbGxvYyhzaXplX3Qgc2l6ZSwgc2l6ZV90IGFsaWduKQ0KPiA+PiArew0KPiA+ PiArCS8qIEhhdmluZyB0aGUgcGVyLWxjb3JlIGJ1ZmZlciBzaXplIGFsaWduZWQgb24gY2FjaGUg bGluZXMNCj4gPj4gKwkgKiBhc3N1cmVzIGFzIHdlbGwgYXMgaGF2aW5nIHRoZSBiYXNlIHBvaW50 ZXIgYWxpZ25lZCBvbiBjYWNoZQ0KPiA+PiArCSAqIHNpemUgYXNzdXJlcyB0aGF0IGFsaWduZWQg b2Zmc2V0cyBhbHNvIHRyYW5zbGF0ZSB0byBhbGlwZ25lZA0KPiA+PiArCSAqIHBvaW50ZXJzIGFj cm9zcyBhbGwgdmFsdWVzLg0KPiA+PiArCSAqLw0KPiA+PiArCVJURV9CVUlMRF9CVUdfT04oUlRF X01BWF9MQ09SRV9WQVIgJSBSVEVfQ0FDSEVfTElORV9TSVpFICE9IDApOw0KPiA+PiArCVJURV9W RVJJRlkoYWxpZ24gPD0gUlRFX0NBQ0hFX0xJTkVfU0laRSk7DQo+ID4+ICsJUlRFX1ZFUklGWShz aXplIDw9IFJURV9NQVhfTENPUkVfVkFSKTsNCj4gPj4gKw0KPiA+PiArCS8q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