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 D5E2643215 for ; Fri, 27 Oct 2023 10:45:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BE0DD40698; Fri, 27 Oct 2023 10:45:10 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id BF1B940272; Fri, 27 Oct 2023 10:45:08 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 95D12205F1; Fri, 27 Oct 2023 10:45:08 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Subject: RE: [PATCH v6 1/1] eal/unix: allow creating thread with real-time priority X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 27 Oct 2023 10:45:03 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9EFA3@smartserver.smartshare.dk> In-Reply-To: <20231027081158.1358064-1-thomas@monjalon.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v6 1/1] eal/unix: allow creating thread with real-time priority Thread-Index: AdoIrVZ0K0CqMYk5RfqVM8knrmILGQAAHqRA References: <20231024125416.798897-1-thomas@monjalon.net> <20231027081158.1358064-1-thomas@monjalon.net> From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Thomas Monjalon" , Cc: "David Marchand" , , "Anatoly Burakov" , "Tyler Retzlaff" , "Narcisa Vasile" , "Stephen Hemminger" , "Dmitry Kozlyuk" , "Konstantin Ananyev" , "Andrew Rybchenko" X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org PiBGcm9tOiBUaG9tYXMgTW9uamFsb24gW21haWx0bzp0aG9tYXNAbW9uamFsb24ubmV0XQ0KPiBT ZW50OiBGcmlkYXksIDI3IE9jdG9iZXIgMjAyMyAxMC4wOQ0KPiANCj4gV2hlbiBhZGRpbmcgYW4g QVBJIGZvciBjcmVhdGluZyB0aHJlYWRzLA0KPiB0aGUgcmVhbC10aW1lIHByaW9yaXR5IGhhcyBi ZWVuIGZvcmJpZGRlbiBvbiBVbml4Lg0KPiANCj4gVGhlcmUgaXMgYSBrbm93biBpc3N1ZSB3aXRo IHJpbmcgYmVoYXZpb3VyLA0KPiBidXQgaXQgc2hvdWxkIG5vdCBiZSBjb21wbGV0ZWx5IGZvcmJp ZGRlbi4NCj4gDQo+IFJlYWwtdGltZSB0aHJlYWQgY2FuIGJsb2NrIHNvbWUga2VybmVsIHRocmVh ZHMgb24gdGhlIHNhbWUgY29yZSwNCj4gbWFraW5nIHRoZSBzeXN0ZW0gdW5zdGFibGUuDQo+IFRo YXQncyB3aHkgYSBzbGVlcCBpcyBhZGRlZCBpbiB0aGUgdGVzdCB0aHJlYWQsDQo+IGFuZCBhIHdh cm5pbmcgaXMgbG9nZ2VkIHdoZW4gdXNpbmcgcmVhbC10aW1lIHByaW9yaXR5Lg0KPiANCj4gRml4 ZXM6IGNhMDRjNzhiNjI2MiAoImVhbDogZ2V0L3NldCB0aHJlYWQgcHJpb3JpdHkgcGVyIHRocmVh ZA0KPiBpZGVudGlmaWVyIikNCj4gRml4ZXM6IGNlNmU5MTFkMjBmNiAoImVhbDogYWRkIHRocmVh ZCBsaWZldGltZSBBUEkiKQ0KPiBGaXhlczogYTdiYTQwYjJiMWJmICgiZHJpdmVyczogY29udmVy dCB0byBpbnRlcm5hbCBjb250cm9sIHRocmVhZHMiKQ0KPiBDYzogc3RhYmxlQGRwZGsub3JnDQo+ IA0KPiBTaWduZWQtb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