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 6592AA0544; Tue, 7 Jun 2022 12:39:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4CC684021D; Tue, 7 Jun 2022 12:39:28 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 2A36440156 for ; Tue, 7 Jun 2022 12:39:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654598366; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dNyM4BprPSWTKLklxaRPY2fXdJVBuV9cfbo1DJKNMcE=; b=AhgJbmfcBDeQKhxdpKXCXchRh1givNMa0PpLd1vdJnQTpxvPlxYParrJ7pTOxCgfx5QisZ YwS+MeGdkdClcNdQn/IV96aKq/aZAlF6/fMlemTA3y7gsQcZbnRQLkYPMs5XIv+FhTb7rt 4zFPP21ymN0kpo+k5VqX5UlVyStOOYo= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-570-EPjLoPwJPyuXTp8mTdxeig-1; Tue, 07 Jun 2022 06:39:23 -0400 X-MC-Unique: EPjLoPwJPyuXTp8mTdxeig-1 Received: by mail-lf1-f72.google.com with SMTP id c5-20020a056512238500b0047954b68297so2069106lfv.3 for ; Tue, 07 Jun 2022 03:39:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dNyM4BprPSWTKLklxaRPY2fXdJVBuV9cfbo1DJKNMcE=; b=BqT9/rVzMCgG7aVwZkceLBoSArPDLY8NrpILorahPRKeNCU1cVVMX7li/LlfQZZ3zp X3oCjxHLfCTsc0dDc87fQreU5smUYMxSYfVfVApFelya2ZpyDB7mRcRXnTsOvZeghxZ6 3dxNeppG1F3b/eIdBTFLJrFdDeRnbSY9tqLFzQyeg14EIll/43RK+UavdTVIA2Dx2gbb DwwSY12jkFqI0/IHyZzEHJOBuPIer8GZkXpS/lEvIPt5WI45M9mmjjK4WP+PEjo7j3wS zPstbTLwIC6ht1n6dStBHpwta3p5ig0gA7SR18tQDFNxyqMTFC3JiWIAiTkbCmNKOW6F EMqg== X-Gm-Message-State: AOAM533gHRBCZP6J1EgV+lZrI1cI2ud7cRPhy9VL8NjzMCym9iRxgs1e gDBra0KaJ0x7a7Weg/BSeLfKJwD1b2q7MfC7IV13+CRiBGZKjtJ01M4yI04b3JzBK1HPHW1TZFY A/ZXxmolxXw5nm8gj2yw= X-Received: by 2002:ac2:4c15:0:b0:479:cb6:f8da with SMTP id t21-20020ac24c15000000b004790cb6f8damr17887433lfq.484.1654598361698; Tue, 07 Jun 2022 03:39:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrX6LnRoo1zNVuB2Do5Vug9k89vYpwY3nkRmwEOUGC9EPiAxXrF8V0mGJZoOTW+pvbxoQmduollwMxrB0evgs= X-Received: by 2002:ac2:4c15:0:b0:479:cb6:f8da with SMTP id t21-20020ac24c15000000b004790cb6f8damr17887421lfq.484.1654598361490; Tue, 07 Jun 2022 03:39:21 -0700 (PDT) MIME-Version: 1.0 References: <1653302773-11043-1-git-send-email-roretzla@linux.microsoft.com> <1653390517-4033-1-git-send-email-roretzla@linux.microsoft.com> In-Reply-To: <1653390517-4033-1-git-send-email-roretzla@linux.microsoft.com> From: David Marchand Date: Tue, 7 Jun 2022 12:39:10 +0200 Message-ID: Subject: Re: [PATCH v3 0/2] add thread priority accessors To: Tyler Retzlaff Cc: dev , Thomas Monjalon , Dmitry Kozlyuk , "Burakov, Anatoly" Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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 On Tue, May 24, 2022 at 1:09 PM Tyler Retzlaff wrote: > > this series introduces accessors for get and set of thread > priority based on original patches from Narcisa Vasile. > > v3: > * synchronize exit of thread_main to maintain thread > life for duration of affinity and priority tests. > * fix test check of errno return value should be > non-negative ENOTSUP instead of -ENOTSUP > > v2: > * fix typo in test assert string mistmatch -> mismatch > * add new experimental exports names to lib/eal/version.map > > Tyler Retzlaff (2): > eal: get/set thread priority per thread identifier > test/threads: add unit test for get set priority > > app/test/test_threads.c | 57 +++++++++++++++++++ > lib/eal/include/rte_thread.h | 50 +++++++++++++++++ > lib/eal/unix/rte_thread.c | 101 +++++++++++++++++++++++++++++++++ > lib/eal/version.map | 2 + > lib/eal/windows/rte_thread.c | 130 +++++++++++++++++++++++++++++++++++++++++++ > 5 files changed, 340 insertions(+) Series applied, thanks. -- David Marchand