Cover Detail
Show a cover letter.
GET /api/covers/312/?format=api
http://patches.dpdk.org/api/covers/312/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20231026142749.1174372-1-thomas@monjalon.net/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20231026142749.1174372-1-thomas@monjalon.net>", "list_archive_url": "https://inbox.dpdk.org/dev/20231026142749.1174372-1-thomas@monjalon.net", "date": "2023-10-26T14:19:35", "name": "[v5,0/2] allow creating thread with real-time priority", "submitter": { "id": 685, "url": "http://patches.dpdk.org/api/people/685/?format=api", "name": "Thomas Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/20231026142749.1174372-1-thomas@monjalon.net/mbox/", "series": [ { "id": 30007, "url": "http://patches.dpdk.org/api/series/30007/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30007", "date": "2023-10-26T14:19:35", "name": "allow creating thread with real-time priority", "version": 5, "mbox": "http://patches.dpdk.org/series/30007/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/312/comments/", "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])\n\tby inbox.dpdk.org (Postfix) with ESMTP id B017043209;\n\tThu, 26 Oct 2023 16:27:55 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9F0C4402CF;\n\tThu, 26 Oct 2023 16:27:55 +0200 (CEST)", "from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com\n [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id F1089402B5\n for <dev@dpdk.org>; Thu, 26 Oct 2023 16:27:53 +0200 (CEST)", "from compute2.internal (compute2.nyi.internal [10.202.2.46])\n by mailout.nyi.internal (Postfix) with ESMTP id 969965C011A;\n Thu, 26 Oct 2023 10:27:53 -0400 (EDT)", "from mailfrontend2 ([10.202.2.163])\n by compute2.internal (MEProxy); Thu, 26 Oct 2023 10:27:53 -0400", "by mail.messagingengine.com (Postfix) with ESMTPA; Thu,\n 26 Oct 2023 10:27:52 -0400 (EDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n cc:cc:content-transfer-encoding:content-type:content-type:date\n :date:from:from:in-reply-to:in-reply-to:message-id:mime-version\n :references:reply-to:sender:subject:subject:to:to; s=fm3; t=\n 1698330473; x=1698416873; bh=oygO13fl5ThgSTo03NVaCusWW+CgqbcUYfV\n A7TnnBGg=; b=NmAFLItLwUNp4mb/Kwqg9g9teJQFLcd/uzEcbdEr+Ac5NfXkXdG\n 1Jl54qY4DI8eOOYo2jp71IDnWTbibv4leLHCrDMCI0yAJLvuxzY5pfRLHTvFkznT\n KA/wXCCFMfkDnge1M0XVPCNcz2exZrpvSLwlDRLUn4vhXXngGwmkoXmmW3sS4L4d\n lG456DHg4C0tlTSbq4W52+d3ZdRRfRVPGlofQ9Xu6juNufQtwACccScYkqNWNSOj\n pppmdpe+fjx2coO0MTtpjcuEDRvpqxDMV4ZYiPZFeR5kchN9Xdd6q7fRYHL4wbO8\n YtgUBQZeTmuClcExCUl8Z19pvC7a9YACWGg==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:cc:content-transfer-encoding\n :content-type:content-type:date:date:feedback-id:feedback-id\n :from:from:in-reply-to:in-reply-to:message-id:mime-version\n :references:reply-to:sender:subject:subject:to:to:x-me-proxy\n :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=\n 1698330473; x=1698416873; bh=oygO13fl5ThgSTo03NVaCusWW+CgqbcUYfV\n A7TnnBGg=; b=cRxz1RfcTVRHxBRhBGEwXL3GXIBO+p4nyD4GvTO2MuScfFSvLC3\n 1DF4Z6D0FqR/zUxVDIc7QvrVE8Av+FE7lYlHn5KxP6GfXji+CSNq+wDun9xG52e+\n uKctwo3YpWos2/kEf8tHI7Y6PBf3sq8qIkyKdVaG5v2CpEwyBtiRQZYgmCuV+aiK\n LBAlT/Cdj1/teyLflrvldFdf1mUBuT6mrfMGIAoRybPJQcKT3ZAZlneIGVN7a0l4\n aNypBDlzQuRcMNcYNfqkcRpSEziXk6oXmR5JfBp53B5dS9+9Jh75osxDypZL073K\n HzRTtqPgLCPEBZrIAK/mQYhlgEPFjPurxBw==" ], "X-ME-Sender": "<xms:aXc6Ze957s_yiIqzjIeSNB42xh4kK4SJMTpg6iYdYPyhwXSI8qT1hA>\n <xme:aXc6ZevAYLzMrYOPo-WApXzDiq_GZiYDk4ar3aN5WpwahlJCiat73F2T7WHfLzVMG\n rW39fLAj9ZxbMVK8A>", "X-ME-Received": "\n <xmr:aXc6ZUCeibyK-Dt3-9HxVhuCqSTesCEKHEluXuHVjrwbc0VG3-eU2h2Mq33XfmSrF2Su4-wusla5PDf4eRKedFoyQd2H7sA>", "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgedvkedrledvgdejjecutefuodetggdotefrodftvf\n curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu\n uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc\n fjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomhepvfhhohhm\n rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc\n ggtffrrghtthgvrhhnpedtieffffegfeetlefhkeeuteeuudffjefgleevtdeijedukefg\n veehteehheegjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh\n hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght", "X-ME-Proxy": "<xmx:aXc6ZWdNqZJttCNmS438PzGHKWbfg0rDFNDMPeXl5PQdlV6OjKp0UA>\n <xmx:aXc6ZTND2HYWqgMWupo-ksFL89KAOnV5_JhcKrBb5DkOPMXl7RFvKQ>\n <xmx:aXc6ZQkLX5RE2sVPiD4fBG9Ba0bzkR9gMDJ2xx6mSXBLj62v6Lt8yA>\n <xmx:aXc6ZVVDlI4figD2m6iz8t2PfMsBJYajjU3o2FV79y3J6IzV_b5NvA>", "Feedback-ID": "i47234305:Fastmail", "From": "Thomas Monjalon <thomas@monjalon.net>", "To": "dev@dpdk.org", "Cc": "David Marchand <david.marchand@redhat.com>", "Subject": "[PATCH v5 0/2] allow creating thread with real-time priority", "Date": "Thu, 26 Oct 2023 16:19:35 +0200", "Message-ID": "<20231026142749.1174372-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>,\n <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>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "Real-time thread priority was been forbidden on Unix\nbecause of problems they can cause.\nWarnings and helpers are added to avoid deadlocks,\nso real-time can be allowed on all systems.\n\nThomas Monjalon (2):\n eal: add thread yield functions\n eal/unix: allow creating thread with real-time priority\n\nv1: no yield at all\nv2: more comments, sched_yield() and Sleep(0) on Windows\nv3: 2 yield functions with sleep in realtime version\nv4: runtime warning, longer sleep on Unix and lighter yield on Windows\nv5: fix build and increase Unix sleep to 1 ms\n\nThomas Monjalon (2):\n eal: add thread yield functions\n eal/unix: allow creating thread with real-time priority\n\n app/test/test_threads.c | 11 +-----\n .../prog_guide/env_abstraction_layer.rst | 4 +-\n lib/eal/include/rte_thread.h | 33 +++++++++++++++-\n lib/eal/unix/rte_thread.c | 38 ++++++++++++++-----\n lib/eal/version.map | 4 ++\n lib/eal/windows/rte_thread.c | 15 ++++++++\n 6 files changed, 83 insertions(+), 22 deletions(-)" }{ "id": 312, "url": "