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 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 ; 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: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrledtgddutdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpefvhhho mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne cuggftrfgrthhtvghrnheptdeiffffgeefteelhfekueetueduffejgfelvedtieejudek gfevheetheehgeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 25 Oct 2023 12:33:58 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: David Marchand 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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(-) -- 2.42.0