From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id B43081B598 for ; Wed, 19 Dec 2018 20:53:49 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 47E852206E; Wed, 19 Dec 2018 14:53:49 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 19 Dec 2018 14:53:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=MoGy6HllVUwio9pM5XArfgQA2BL+jwcaJ9VeybqPeEs=; b=Qo8snCKbi1GR 9O3Yeyrg5ubw2492lfn5A2UJPngJgzOeFBa+2TMrce9DMAHO8qMf2Plh6Tba5oGN tIFIZcq+Ohup3j9tSVeB5SdJoS1/3UlTXKqZTQm6EcCnB/yERcKx8QFWWaqTvFl3 nmMWGj6oWhmN2xZgN4LzIhIV5ztfmoo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=MoGy6HllVUwio9pM5XArfgQA2BL+jwcaJ9VeybqPe Es=; b=K3PNKIT9mkKYgZ+dSCRcw6lXYML3NL4TqJ1rHWhXqqudjC7TymF7tL0uk eYfHN7/OLFYFXCeKlVtS6Th+s8TrG1AeyzzYYOBgbrHPihI0y3ozRdII+UnwXaqH 9PgqwzWV81RzPwum+/uoU5TvQM3xcP9Sib9EqfDhVxG+A5tnQsK76iB2uQoI6gmb 7pNg63OZUP1NR4BnTaYWVVF4LYOnPTGOPf9LUJg5YcPW4q+eJt/C8xbpNRyU3nu8 gnZupZFpXwjMzwnXJfgybw7dBX2lzKedTkbcepsklc9tFlGqI0rFuiJzQBoab9KS 4QnqaAxj6BriRztzzGFEfZlVVgbCQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudejtddgudefvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecu fedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkf gjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhn uceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukfhppeejjedrudefgedrvd dtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id EF3E7100BA; Wed, 19 Dec 2018 14:53:47 -0500 (EST) From: Thomas Monjalon To: Konstantin Ananyev Cc: dev@dpdk.org, honnappa.nagarahalli@arm.com, gavin.hu@arm.com Date: Wed, 19 Dec 2018 20:53:46 +0100 Message-ID: <3481209.vObtn9zYqZ@xps> In-Reply-To: <1545242837-28585-1-git-send-email-konstantin.ananyev@intel.com> References: <1542130061-3702-1-git-send-email-konstantin.ananyev@intel.com> <1545242837-28585-1-git-send-email-konstantin.ananyev@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 0/2] Add 'try' semantics for RD and WR locking X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2018 19:53:49 -0000 19/12/2018 19:07, Konstantin Ananyev: > Introduce rte_rwlock_read_trylock() and rte_rwlock_write_trylock() > and new UT test-case for it. > > v1 -> v2 > Changes per Honnappa and Gavin comments: > - remove cycle in rte_rwlock_write_trylock() > - remove static inline functions from .map file > - update comments > > Konstantin Ananyev (2): > rwlock: introduce 'try' semantics for RD and WR locking > test: add new test-cases for rwlock autotest > > .../common/include/generic/rte_rwlock.h | 56 +++ > test/test/test_rwlock.c | 409 +++++++++++++++++- > 2 files changed, 446 insertions(+), 19 deletions(-) Applied, thanks