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 A8276A0096 for ; Wed, 5 Jun 2019 14:16:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 79C061BAA7; Wed, 5 Jun 2019 14:16:23 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 4AB3D1BA92 for ; Wed, 5 Jun 2019 14:16:22 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E373F22440; Wed, 5 Jun 2019 08:16:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 05 Jun 2019 08:16:20 -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=OM/TySAt+uRGpIYIrciuUV958ViveXxQ9PlfHOo9Wf8=; b=BwFvK94hR83t kDJks/6haifXvqmUtz9PFaC3DIwZYYSNyo98crBXIkv7euiMDKeh4nSnOq9sXOhJ kqENlTYlhOX7Y9qv8+iF5J7ZQp18Ecrk9hrhYv8rY9JumZBs4haZqqKSs+bXygtg jUlNk6jM9DCYya28DmjmWwAH4zcPN9A= 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=OM/TySAt+uRGpIYIrciuUV958ViveXxQ9PlfHOo9W f8=; b=RHXIDtV8XrSFp8bm7q/QEyWoJA3u5TK54WzAQY80hqpN4pwS5+mflH2DU EfL1My4NeJHF+ZmzOWwoQD8B40sqhIGYe134p/kTAbS2wdQgQc6DsnvHdLpUih0Y 3P9vgMkelXwg5QBpOaBq6CwbMddNFPBNfnYj69TAAXjUzTYqD6kcMdKRv4QLGvLA XGB0CXsQzoIfpHwsHxB4YCGb1T6qkt8MKy4AIVJ4KTkFGl7f64qtbU5bjTYgA52X cqbTiGJGDsF9x2S+VcF0LdO4kpqFdESPRx1DOA+8CJfS2/kaUvh09+F6uA/8O8K+ IDmAyzBBkyB1aOv5LNljx6vQ2Nb5A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudegvddgheduucetufdoteggodetrfdotf 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 4F85C80062; Wed, 5 Jun 2019 08:16:19 -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 14:16:17 +0200 Message-ID: <3355012.7oxlcTFSm5@xps> In-Reply-To: <3230523.q5hRvnNJ3y@xps> References: <20190515204255.4667-1-honnappa.nagarahalli@arm.com> <20190516011417.24752-1-honnappa.nagarahalli@arm.com> <3230523.q5hRvnNJ3y@xps> 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" 05/06/2019 12:50, Thomas Monjalon: > 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 Applied, thanks