Message ID | 20231025163352.1076755-1-thomas@monjalon.net (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D4DE5431FC; Wed, 25 Oct 2023 18:34:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C3A4C402B3; Wed, 25 Oct 2023 18:34:03 +0200 (CEST) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id B93E140273 for <dev@dpdk.org>; Wed, 25 Oct 2023 18:34:02 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id A1F733200989; Wed, 25 Oct 2023 12:33:59 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 25 Oct 2023 12:33:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1698251639; x=1698338039; bh=tA9wCLLdscZuD5OchgmlUHTRgdmtlb2MH9P 9jJx55/c=; b=gyeGp8JL4TM9zd8aZhVm0cUdn/S2cuYXrNGI02K4r8xS1/71P3O ke904RX3q+gKVuS0XOre41V7CYLziHgMkSc6MZ7GKOtIU64EL+Lcv8nLnsun5+eh bRFnzmp0nwOceMRw0iIiCx6EHb3XXpxtz/03rbPmmJJf+h5q3qftpopbmrl1JiyE y8r5eddmT1we08gPE3Zuh5aHlhh82MznxBciYE9VJkb4U/Xw5G+jddtcUPwTEeYt M4UbuCaTpuoHbKj/esdKF4CYylUF4Bs/g6KzDoDrginzzGMozw5WT9TYiLG/L+VQ KHRk13ladvrvCaaJyEqjJWyNcdBu7jhnYFg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1698251639; x=1698338039; bh=tA9wCLLdscZuD5OchgmlUHTRgdmtlb2MH9P 9jJx55/c=; b=nWaU7OLRx4IjbuPa58t9UGsDKp/idwSNhnkz3YtPIH38pPonYfL nTMB0zGfMDWo+TdjHq8ALp8n5CJn9ooxzbDkCucnilZnRqfis/5JNIxaaD0ndbP2 bXjxpPtAiAvXn7yhoLSAJ6HCWmgrA5noQFwqcR4G9jZ6NR9OXdimEMNPtXfPRRmZ 8PVsgmZRu9iHtFz69KY++KevNj7hx9OE2avKNyWAPem2NezjLIAZL9YTCeQqqPpt pd4pkK+BitvftP4OyQ7QAikl9I3WvGqF0uixWtkaoewkvJjp60yEh76J8378xFub 0xmWmc8bV8dHEyk1X93N0DuYz7khkl2pK6A== X-ME-Sender: <xms:dkM5ZUUp1j69vk3kJiBymzqOaYf7C9opRA-Knwm49ERlbeswLPUtJA> <xme:dkM5ZYms1VNKa8tFGgmwwzU7ybfzV4V3Y-ztXQ41reByDtOoFFXEz0FpZDiAQtjyB HhMQ35oCvFb-7KfDA> X-ME-Received: <xmr:dkM5ZYbkqX7kRgKdiWOJbirQAfAydmxNUIj47p4pt6NeVSdMHimCMUsE6-Aw75TJ8SUpUQvMYjz-k6sOMpIE6Z4X_4DsJXI> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrledtgddutdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpefvhhho mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne cuggftrfgrthhtvghrnheptdeiffffgeefteelhfekueetueduffejgfelvedtieejudek gfevheetheehgeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: <xmx:dkM5ZTUdEram91JLlex8pqa4-AtV7EdU1EwgOS1dSI5AYJz8UZgieA> <xmx:dkM5ZenRE-tsu_2F7fNSEvzkHS8ucIEetU1Zx8ZKFbSdsmKwZbVlPQ> <xmx:dkM5ZYdSuve72PNEkR67-YKbXGQ5TffJd0yCHv29opsJkY2I4l6xgg> <xmx:d0M5ZVvMgEI53265Kfm_u_BTIw-WZzcBO-ZmfQR7947aX3lKGG6ZGQ> Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 25 Oct 2023 12:33:58 -0400 (EDT) From: Thomas Monjalon <thomas@monjalon.net> To: dev@dpdk.org Cc: David Marchand <david.marchand@redhat.com> Subject: [PATCH v3 0/2] allow creating thread with real-time priority Date: Wed, 25 Oct 2023 18:31:09 +0200 Message-ID: <20231025163352.1076755-1-thomas@monjalon.net> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231024125416.798897-1-thomas@monjalon.net> References: <20231024125416.798897-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
allow creating thread with real-time priority
|
|
Message
Thomas Monjalon
Oct. 25, 2023, 4:31 p.m. UTC
Real-time thread priority was been forbidden on Unix because of problems they can cause. Warnings and helpers are added to avoid deadlocks, so real-time can be allowed on all systems. Thomas Monjalon (2): eal: add thread yield functions eal/unix: allow creating thread with real-time priority app/test/test_threads.c | 11 +------ .../prog_guide/env_abstraction_layer.rst | 4 ++- lib/eal/include/rte_thread.h | 29 ++++++++++++++++-- lib/eal/unix/rte_thread.c | 30 +++++++++++++------ lib/eal/version.map | 4 +++ lib/eal/windows/rte_thread.c | 15 ++++++++++ 6 files changed, 71 insertions(+), 22 deletions(-)