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 57DC0A0096 for ; Fri, 7 Jun 2019 08:30:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3D8B42C6A; Fri, 7 Jun 2019 08:30:06 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30044.outbound.protection.outlook.com [40.107.3.44]) by dpdk.org (Postfix) with ESMTP id BBCDCF64 for ; Fri, 7 Jun 2019 08:30:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aWfmZ41MIdgA3wYYy7zg/iOUEaOqznPr3bFZ/WOX2zo=; b=GXMttniibrqIBsopBzWYDt0zlREYZ251iZ6KULZmp3O/eppgRgQxg3xiPlXA+7LVBQNM06HHIA7RO13yUEwPzjUSVgmR4WalXwChubRWxHgA7NCGjirUvdBNI6FvcqieT/ynbJi4jtbNCo/5oxPHnw+8Oq0hWml/hYpGRPxCZ0M= Received: from VE1PR08MB5149.eurprd08.prod.outlook.com (20.179.30.152) by VE1PR08MB4717.eurprd08.prod.outlook.com (10.255.115.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.15; Fri, 7 Jun 2019 06:30:03 +0000 Received: from VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::9983:2882:a24:c0b0]) by VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::9983:2882:a24:c0b0%5]) with mapi id 15.20.1965.011; Fri, 7 Jun 2019 06:30:03 +0000 From: Honnappa Nagarahalli To: "thomas@monjalon.net" CC: "dev@dpdk.org" , "david.marchand@redhat.com" , Dharmik Thakkar , nd , nd Thread-Topic: [dpdk-dev] [PATCH v2] rcu/test: make gloabl variable per core Thread-Index: AQHVG4yASU/O9XGqJkakjU+N518XhaaPvL1w Date: Fri, 7 Jun 2019 06:30:03 +0000 Message-ID: References: <20190515204255.4667-1-honnappa.nagarahalli@arm.com> <20190516011417.24752-1-honnappa.nagarahalli@arm.com> <3230523.q5hRvnNJ3y@xps> In-Reply-To: <3230523.q5hRvnNJ3y@xps> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: f87b1079-ea6d-4ddb-b573-8617017d34d2.0 x-checkrecipientchecked: true authentication-results: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1dfc7ad2-662a-4d32-ba43-08d6eb119334 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VE1PR08MB4717; x-ms-traffictypediagnostic: VE1PR08MB4717: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr nodisclaimer: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0061C35778 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(376002)(366004)(396003)(136003)(189003)(199004)(81156014)(446003)(81166006)(8676002)(1730700003)(66476007)(478600001)(76116006)(486006)(66946007)(11346002)(476003)(14444005)(8936002)(66446008)(64756008)(66556008)(256004)(7736002)(186003)(26005)(2501003)(102836004)(72206003)(305945005)(33656002)(68736007)(99286004)(7696005)(14454004)(25786009)(71190400001)(71200400001)(54906003)(2351001)(53936002)(5660300002)(6116002)(3846002)(73956011)(52536014)(4326008)(4744005)(86362001)(6246003)(6916009)(66066001)(229853002)(316002)(55016002)(6506007)(5640700003)(9686003)(6436002)(74316002)(2906002)(76176011); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB4717; H:VE1PR08MB5149.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: uKBJqXqbAcSBHztPfyXX9wFwv1BP1INK3/OMjX9Wof+c+jfocr/MMEEdaMXikRZMv7hyYWlN6I5e/Bu8H+OjFnjFNLZEYJDD2emjVXYIzZJ9HiVtdvLPGlsU9tHt0mbzJI2Ljpd9FWQk4WG25FW02IFxkofQhX6DwXZ4HwNjyfUF4V65DOLqR7Q7XY0RHfZPe2txtSic7aDBlAe6OQO5SqPNCIyFeUTWnYFhCJ9B0f423q2MdBZI4fG69+Cqr/VDGNOjRQ/0+P8gl6zHrZxm81tl3Bd2HEzpLZIcMD/hUwgtKh97zdlGX08ze9nR688ti8GN8P174rgMCJ1yTQ0IDNZPhB10xxtU++VGApTCTtvdvxwxgsM876movldNSfQSZCQhYsyPWqkyCKrhVkU7v8BKHW1Hlhsg8HJHl5+PJrM= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1dfc7ad2-662a-4d32-ba43-08d6eb119334 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jun 2019 06:30:03.4902 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Honnappa.Nagarahalli@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4717 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" >=20 > Bad start, there is a typo in the title :) I guess, my apologies do not have any meaning anymore >=20 > 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") >=20 > If you run devtools/check-git-log.sh you will see that Cc stable is requi= red for > backport. I ran this again, it does not show anything. I thought, we are not doing maintenance releases for the quarterly releases= . =20 >=20 > > Reported-by: David Marchand > > Signed-off-by: Honnappa Nagarahalli > > Reviewed-by: Dharmik Thakkar > > Tested-by: David Marchand >=20 >=20