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 CDDF743204 for ; Thu, 26 Oct 2023 09:33:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C684440A81; Thu, 26 Oct 2023 09:33:47 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 56EF24067C; Thu, 26 Oct 2023 09:33:46 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 339A6205C3; Thu, 26 Oct 2023 09:33:46 +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 v2] eal/unix: allow creating thread with real-time priority X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 26 Oct 2023 09:33:42 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9EF91@smartserver.smartshare.dk> In-Reply-To: <20231025143318.3be26bb3@hermes.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v2] eal/unix: allow creating thread with real-time priority Thread-Index: AdoHiuNDATavCLNzRXu7B4ZFtXOMDAASZ02A References: <20231024125416.798897-1-thomas@monjalon.net><20231025151352.995318-1-thomas@monjalon.net><20231025083700.4e3e274c@hermes.local><23265462.6Emhk5qWAg@thomas><98CBD80474FA8B44BF855DF32C47DC35E9EF8B@smartserver.smartshare.dk> <20231025143318.3be26bb3@hermes.local> From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Stephen Hemminger" Cc: "Thomas Monjalon" , , "David Marchand" , , "Anatoly Burakov" , "Dmitry Kozlyuk" , "Narcisa Ana Maria Vasile" , "Dmitry Malloy" , "Pallavi Kadam" , "Tyler Retzlaff" , "Andrew Rybchenko" , "Konstantin Ananyev" 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 PiBGcm9tOiBTdGVwaGVuIEhlbW1pbmdlciBbbWFpbHRvOnN0ZXBoZW5AbmV0d29ya3BsdW1iZXIu b3JnXQ0KPiBTZW50OiBXZWRuZXNkYXksIDI1IE9jdG9iZXIgMjAyMyAyMy4zMw0KPiANCj4gT24g V2VkLCAyNSBPY3QgMjAyMyAxOTo1NDowNiArMDIwMA0KPiBNb3J0ZW4gQnLDuHJ1cCA8bWJAc21h cnRzaGFyZXN5c3RlbXMuY29tPiB3cm90ZToNCj4gDQo+ID4gSSBhZ3JlZSB3aXRoIFRob21hcyBv biB0aGlzLg0KPiA+DQo+ID4gSWYgeW91IHdhbnQgdGhlIGxvZyBtZXNzYWdlLCBwbGVhc2UgZGVn cmFkZSBpdCB0byBJTkZPIG9yIERFQlVHIGxldmVsLiBJdCBpcw0KPiBvbmx5IHJlbGV2YW50IHdo ZW4gY2hhc2luZyBwcm9ibGVtcywgbm90IGZvciBub3JtYWwgcHJvZHVjdGlvbiAtIGFuZCB0aHVz DQo+IE5PVElDRSBpcyB0b28gaGlnaC4NCj4gDQo+IEkgZG9uJ3Qgd2FudCB0aGUgbWVzc2FnZSB0 byBiZSBoaWRkZW4uDQo+IElmIHdlIGdldCBhbnkgYnVnIHJlcG9ydHMgd2FudCB0byBiZSBhYmxl IHRvIHNheSAicmVhZCB0aGUgbG9nLCBkb24ndCBkbw0KPiB0aGF0Ii4NCg0KU2luY2UgU3RlcGhl biBpcyBhcmd1aW5nIHNvIHN0cm9uZ2x5IGZvciBpdCwgSSBoYXZlIGNoYW5nZWQgbXkgbWluZCwg YW5kIG5vdyBzdXBwb3J0IFN0ZXBoZW4ncyBzdWdnZXN0aW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