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 03535A00BE; Mon, 13 Dec 2021 21:27:07 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 90D0D406A2; Mon, 13 Dec 2021 21:27:07 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 2CC9340042 for ; Mon, 13 Dec 2021 21:27:06 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1059) id 4655F20B7179; Mon, 13 Dec 2021 12:27:05 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 4655F20B7179 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1639427225; bh=voXYdPCCbwdYv/0mqFLOqFV0+SF8Vb9DweI78iBlKBk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PtoAeECq5ZcWg/LGrMXCyc1dUOo61sr7UU9qERFtb24l36JuXz4ldcDbPVlCfoNGn PcllWHgJJsh2w28/cRh43FTyEAAt3iKNS2Rn8qe3VNczJad80sn9jU0JC8AVJCKKrY zziufxxaRMP8e59SjPKdGk2mAHBIpww4C+UpL7Aw= Date: Mon, 13 Dec 2021 12:27:05 -0800 From: Narcisa Ana Maria Vasile To: bruce.richardson@intel.com, stephen@networkplumber.org, dev@dpdk.org, thomas@monjalon.net, dmitry.kozliuk@gmail.com, khot@microsoft.com, navasile@microsoft.com, dmitrym@microsoft.com, roretzla@microsoft.com, talshn@nvidia.com, ocardona@microsoft.com Cc: bruce.richardson@intel.com, david.marchand@redhat.com, pallavi.kadam@intel.com Subject: Re: [PATCH v18 8/8] eal: implement functions for mutex management Message-ID: <20211213202705.GA5315@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <1636513302-7359-1-git-send-email-navasile@linux.microsoft.com> <1636594425-9692-1-git-send-email-navasile@linux.microsoft.com> <1636594425-9692-9-git-send-email-navasile@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1636594425-9692-9-git-send-email-navasile@linux.microsoft.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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 Wed, Nov 10, 2021 at 05:33:45PM -0800, Narcisa Ana Maria Vasile wrote: > From: Narcisa Vasile > > Add functions for mutex init, destroy, lock, unlock, trylock. > > Windows does not have a static initializer. Initialization > is only done through InitializeCriticalSection(). To overcome this, > RTE_INIT_MUTEX macro is added to replace static initialization > of mutexes. The macro calls rte_thread_mutex_init(). > > Add unit tests to verify that the mutex correctly locks/unlocks > and protects the data. Check both static and dynamic mutexes. > > Signed-off-by: Narcisa Vasile > --- Hi Bruce R., Stephen H., I've followed Bruce's suggestion and changed this patchset to return ENOTSUP for realtime priority on Linux. Can you please take a look at the latest version of the patchset? Let me know if it needs any changes or if it's ready to be merged. Thank you!