From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 98A76A034F; Mon, 25 Nov 2019 23:55:39 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5DF5A28EE; Mon, 25 Nov 2019 23:55:39 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80074.outbound.protection.outlook.com [40.107.8.74]) by dpdk.org (Postfix) with ESMTP id 18D4B91 for ; Mon, 25 Nov 2019 23:55:38 +0100 (CET) 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=IB1cQoGeHJDJ2MDZF9Z15230BS9fVd3cUJB2UOOQaDc=; b=zt+Sd57R5pI+2uzk8AfLlW5CTkA0Nt11CX3nXM65sCEpkA9y8rRwQwFZ9utLlouzqyutwZEA+lDlueJNOukoyAh7l2dgKbNVIqcOMTiKZBWPIf1UGfgTp/mSoMzMIkP2ZecF3lXrPkjT7tqyahD26b+ON1D5IZHRDAb9JLB8rBg= Received: from DB6PR0802CA0033.eurprd08.prod.outlook.com (2603:10a6:4:a3::19) by AM5PR0801MB1618.eurprd08.prod.outlook.com (2603:10a6:203:37::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17; Mon, 25 Nov 2019 22:55:36 +0000 Received: from AM5EUR03FT060.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::209) by DB6PR0802CA0033.outlook.office365.com (2603:10a6:4:a3::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.18 via Frontend Transport; Mon, 25 Nov 2019 22:55:36 +0000 Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT060.mail.protection.outlook.com (10.152.16.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Mon, 25 Nov 2019 22:55:36 +0000 Received: ("Tessian outbound f7868d7ede10:v33"); Mon, 25 Nov 2019 22:55:36 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 8fe40bb41bd0d27b X-CR-MTA-TID: 64aa7808 Received: from 3397fd81d20c.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.1.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8C24FCF8-5E84-4ADC-8B56-99290F4D1C6C.1; Mon, 25 Nov 2019 22:55:30 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01lp2050.outbound.protection.outlook.com [104.47.1.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 3397fd81d20c.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 25 Nov 2019 22:55:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DXwNoxXOPg3E6h5CDlfMdpetuhFXpSnO6ESlSTqyoEU/eU+UeeQC7SBO1RHfv9RUWatbMIzdwm41FU5/26YGYeXN5IeOXtvgMV0Mz96zpofPQcmTQVEtGaVE0/eKF3DyygCVH/g4TQZ5LztYbv9xr9o1Q8QzQTQyuTsDF54AOGlffMB8a2WCX/9TO2WicKTMfnyWQgJBRNQggSHuLLa7BEQvjT9BXjMx+3dNp8QRt5CmEgg0V8m5+poH7oV1GTUDCwvxyhwL7aF6eUiw0z64h+LHh7ZMgoo7GfZTv8bmt4jO+E2DS+dH5Yj+3Mod6iZ9Abv2fDWfndrXj2c9rMSu8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1wSa2/0zTXaPsFi4ZtnpKO90kl74lpISiaqVPtmdfP0=; b=GhB7u6BDK2TgKK4mVaAYew9r9CZsl02cl3rrf3CT6rOddE9y1rJINc1huU83f6haaiwKsnpsSP2Iw0fA44QMpmGlObEwPmAmSv6iYqGLviGjcyaAaOjMGRMpy3+IzZo+qXWNKt7875a/3qWsKq9XIrhiKUKi8JNETGq/2HvTd5BQmSqH8iqE1WbxWeXPVIjDCb1ROOKrCd4DoWhHtUur8Eqsb+N3Gxjc/xamnQJlHNI9uni4TcHpKCMUAmgVykb9q5BmESimiEhagsgwQkZ7Wpw6KYrKLbbY8fYwW1+BtOTYzkx3Oi1oVYSQ4UHho9fLZ+Uk1SliMK0RqRkhI8Myhg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none 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=1wSa2/0zTXaPsFi4ZtnpKO90kl74lpISiaqVPtmdfP0=; b=WjpUuT5moB1L1vcGtnflbnB1GAeZJMUgxzF6QClYJue/0TtGUSN5PbJI7LlfsSFpecrlzqAMm4w1eLZqJA+4w0UrWwKo2pktlexYQPQvdTX6uqHEGKnEBklPJu/RUwqX5UCLardYJje/GGlZlY/3c+KcWRRI/cSDNB3Px8xHyyY= Received: from AM0PR08MB3379.eurprd08.prod.outlook.com (20.177.109.142) by AM0PR08MB3666.eurprd08.prod.outlook.com (20.177.109.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Mon, 25 Nov 2019 22:55:29 +0000 Received: from AM0PR08MB3379.eurprd08.prod.outlook.com ([fe80::68a0:1e31:594e:3369]) by AM0PR08MB3379.eurprd08.prod.outlook.com ([fe80::68a0:1e31:594e:3369%5]) with mapi id 15.20.2474.023; Mon, 25 Nov 2019 22:55:29 +0000 From: Dharmik Thakkar To: "thomas@monjalon.net" CC: "Wang, Yipeng1" , "dev@dpdk.org" , "Gobriel, Sameh" , "Richardson, Bruce" , Honnappa Nagarahalli Thread-Topic: [dpdk-dev] [PATCH] lib/hash: remove unnecessary locks in lock-free Thread-Index: AQHVoJgcIkuiiEN48UGC+O1kZ9FbP6ecQQ8AgAAzsQCAAAI9gIAAC5uAgAADFAA= Date: Mon, 25 Nov 2019 22:55:28 +0000 Message-ID: References: <20191121181759.11401-1-dharmik.thakkar@arm.com> <10640783.jF6kOFs2fc@xps> <9842802.2mR3ADNnM5@xps> In-Reply-To: <9842802.2mR3ADNnM5@xps> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Dharmik.Thakkar@arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: f524bf2f-c440-494d-faa0-08d771fa95c4 X-MS-TrafficTypeDiagnostic: AM0PR08MB3666:|AM0PR08MB3666:|AM5PR0801MB1618: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:4502;OLM:4502; x-forefront-prvs: 0232B30BBC X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(366004)(396003)(39860400002)(346002)(136003)(376002)(51914003)(189003)(199004)(54906003)(71190400001)(64756008)(5640700003)(8676002)(33656002)(6506007)(6916009)(256004)(26005)(478600001)(25786009)(186003)(6512007)(6246003)(305945005)(7736002)(53546011)(4326008)(76176011)(102836004)(66476007)(2501003)(66446008)(2351001)(2906002)(5660300002)(2616005)(8936002)(86362001)(81166006)(81156014)(1730700003)(76116006)(91956017)(66946007)(11346002)(6436002)(6486002)(36756003)(14454004)(229853002)(446003)(99286004)(14444005)(6116002)(3846002)(316002)(66066001)(71200400001)(66556008); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB3666; H:AM0PR08MB3379.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-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: A2jOVtX+wmtv3GiCNtwS8/1/zz82oTn/DnpP/WX3TRO8yU+Q96susY4GseMmQ9gfWWbM//aIZVnRXJTkA+kZRi4btPtxCuDAHPRef3GGWKsEleeloIk3iPJB3HMG8fw2yc4UuppDklo53Vx81DVuQ7BnUQrcj5oc9fnNWxSww+rG3HSKTvCjZp+BkNn+X74E2acOhsHoZVS06FTK6UICjw3cvKQU52g9zIJ10ThjV7GEG7QtiXTS0/vLO02GX9LdNWFnVMj0XXpdipl+9VQPfmDVZR41VNtVF2qGSEww076rmhHfaDuUAbkUynLkDDvIy8HKfFMJRMzJPmUW4a5xk3F3sUsS15xJJkz178uezoQj8oo9W/PWZIHZYXQ0DCQi1V9g1TE4/jZZRvJUCvxfFs7Lu9g5/XHWxoZy1Fwbbq4bNziJvtELF2oSed+He9Pg Content-Type: text/plain; charset="utf-8" Content-ID: <8342B275E33B63458DD1900D90BCBA11@eurprd08.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3666 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Dharmik.Thakkar@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT060.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(396003)(39860400002)(376002)(136003)(346002)(40434004)(51914003)(189003)(199004)(6246003)(14454004)(50466002)(478600001)(5640700003)(102836004)(70206006)(2501003)(76130400001)(26826003)(106002)(76176011)(86362001)(8936002)(5024004)(6512007)(7736002)(305945005)(316002)(229853002)(5660300002)(356004)(2906002)(33656002)(99286004)(36906005)(2486003)(6506007)(23676004)(53546011)(26005)(3846002)(186003)(4326008)(6116002)(14444005)(70586007)(25786009)(54906003)(47776003)(336012)(8676002)(66066001)(1730700003)(81156014)(81166006)(6486002)(436003)(446003)(36756003)(2616005)(6862004)(22756006)(11346002)(2351001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0801MB1618; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 604d54e8-0e3e-4a84-27b9-08d771fa915a X-Forefront-PRVS: 0232B30BBC X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: M+jD4KNoNEQuFCDzliqGx+HDRCO7/2sMD1sok5IiaYJpPKnA/v+yFPGoi2k891Vt244ov8QAa2cEV3V4hRCFAhpEDWhvhQ8iycjpTB18+BKoW9hiKYu0l9sfMjy8u1cejhQolyryWMAn9YaH7upEy5008CcymluhxFV+gQ3A29KmScXbwYTTHbntThJh9ZhPaLjuudmRLHAxifRIFEIwnhBY1VCFSMXnz6qZ3Emyn5eEy7yhrEv/ckqsKF9K7GIREL9X4TjwG2/DAhpF25ucGHiZyllRzdzP5Ww/PqW9Vt0oqv3grFKiFvpkbB4ersBimHqakawbVHf0Vc4H37Lp5kQJiinz3fSfXgqSc9PSHX/pHgXv9R8bi6e8y/x/qw7tTHSCehp3KAIjC5fEH5AKEnTpYY2jgNdSJdeMCnw71LTEYQg2xZa+4+PPpJlOEbHe X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Nov 2019 22:55:36.3850 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f524bf2f-c440-494d-faa0-08d771fa95c4 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0801MB1618 Subject: Re: [dpdk-dev] [PATCH] lib/hash: remove unnecessary locks in lock-free 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" DQoNCj4gT24gTm92IDI1LCAyMDE5LCBhdCA0OjQ0IFBNLCBUaG9tYXMgTW9uamFsb24gPHRob21h c0Btb25qYWxvbi5uZXQ+IHdyb3RlOg0KPg0KPiAyNS8xMS8yMDE5IDIzOjAyLCBXYW5nLCBZaXBl bmcxOg0KPj4gRnJvbTogVGhvbWFzIE1vbmphbG9uIFttYWlsdG86dGhvbWFzQG1vbmphbG9uLm5l dF0NCj4+PiAyNS8xMS8yMDE5IDE5OjQ5LCBXYW5nLC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