From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 2B7D9A0096 for ; Wed, 5 Jun 2019 12:50:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 04B251B9BD; Wed, 5 Jun 2019 12:50:33 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 3D9F81B9BC for ; Wed, 5 Jun 2019 12:50:31 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D44522247A; Wed, 5 Jun 2019 06:50:30 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 05 Jun 2019 06:50:30 -0400 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=IdThWXgLyvgbvAorKLQV9F05T1H622qkMIfwtzQMpp8=; b=OyP9ImspHebo tsXLvfmYcpxLYc6mFrvQws6Y9dkh1v0xLR28TdwAW2zDIy1Bi6VDHtySvvzQpp6l Ku33CEnRp8zEMXdX74EIkd1TPPysZTCjPearjUdnDMb7gN8jidL5TBj+s/k1GxeW cpjELLw88LV9gMoyXgl2O6yxj1s/HAo= 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=fm2; bh=IdThWXgLyvgbvAorKLQV9F05T1H622qkMIfwtzQMp p8=; b=pBFXvg/QjpOg22t/fqCj5pU0q73ugRyzSKm7nmNOVk/Z+QJFE8MaRW62t 83gMEns2c4m5XVQ/tgqozMN+LuUj5UpFum6leB1Im5QQ3AhN2dOFOx6GxwZTKCC8 t+bmAbvV6dXGxqj7Qjg43GnbEHd62NZ5TpZm40tiaZ/DKioDIDOkUBP/U8HHnCjX SucR/tIELJmea8rDOTM3Eu/F/oORkr9gniCcx/NsBzISOiUV29mx7fogMp39Nrns izr7L240Wqn2Xii4Nwf02d1+KlOd6w5oF3gnhiaISL+MEfjg3USxkKuvn6c0Ujuq nJnCedj32CF/s0qLz946NMhXC3cOQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudegvddgfeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt 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 9D5BC380084; Wed, 5 Jun 2019 06:50:29 -0400 (EDT) From: Thomas Monjalon To: Honnappa Nagarahalli Cc: dev@dpdk.org, david.marchand@redhat.com, dharmik.thakkar@arm.com, nd@arm.com Date: Wed, 05 Jun 2019 12:50:28 +0200 Message-ID: <3230523.q5hRvnNJ3y@xps> In-Reply-To: <20190516011417.24752-1-honnappa.nagarahalli@arm.com> References: <20190515204255.4667-1-honnappa.nagarahalli@arm.com> <20190516011417.24752-1-honnappa.nagarahalli@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] rcu/test: make gloabl variable per core 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Bad start, there is a typo in the title :) 16/05/2019 03:14, Honnappa Nagarahalli: > Each hash entry has a pointer to one uint32 memory location. > However, all the readers increment the same location causing > race conditions. Allocate memory for each thread so that each > thread will increment its own memory location. > > Fixes: b87089b0bb19 ("test/rcu: add API and functional tests") If you run devtools/check-git-log.sh you will see that Cc stable is required for backport. > Reported-by: David Marchand > Signed-off-by: Honnappa Nagarahalli > Reviewed-by: Dharmik Thakkar > Tested-by: David Marchand