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 D3B15A04DF; Tue, 11 Aug 2020 22:14:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B31941C0AF; Tue, 11 Aug 2020 22:14:14 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id A3ADF1C0AF for ; Tue, 11 Aug 2020 22:14:13 +0200 (CEST) IronPort-SDR: LtB0UVchlQKsAY7bAPzs0sQfwOdQCg7ye47t7RI9A6+ScUXh+kIocLGI06QpnmHNz7M7Km8kv3 Cz7SEEi3BJsA== X-IronPort-AV: E=McAfee;i="6000,8403,9710"; a="151498103" X-IronPort-AV: E=Sophos;i="5.76,301,1592895600"; d="scan'208";a="151498103" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 13:13:55 -0700 IronPort-SDR: /x//JF5CNS35mBs/TEdvju95kkWlYZaY4ExLmAaY9weTDawCEzbV1GScVwgw01MsDWmYmK6T28 aq8wSzm+34kQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,301,1592895600"; d="scan'208";a="290799805" Received: from orsmsx604-2.jf.intel.com (HELO ORSMSX604.amr.corp.intel.com) ([10.22.229.84]) by orsmga003.jf.intel.com with ESMTP; 11 Aug 2020 13:13:55 -0700 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 11 Aug 2020 13:13:54 -0700 Received: from orsmsx154.amr.corp.intel.com (10.22.226.12) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 11 Aug 2020 13:13:54 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by ORSMSX154.amr.corp.intel.com (10.22.226.12) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 11 Aug 2020 13:13:54 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.173) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 11 Aug 2020 13:13:52 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NnIPunr94zd4PSIYC0PWFuqIrWyX7DDw6QOGWUvLHp1jHyhKYpaYcYjIlIVSYOaVTILkGyKDhTLSZnA+8rZ3Zr2mEuLsGG4qF+uB8+tMk5/YPHYq/3syjNmJnO+KHj0qBQs1xY5NKTaxuFpgyL2EYNwOYE0EEv1U5gYPEToB1vSPVJ+dSuAOEvs7UgWpTALsvMLcySVneqpWTD2jObz3Ldk0WvJurkhHcZDeDp2mVaGiXS1V9iIkODYwkjq9aC6HZ4ZQqULP2Was1B3OhyISyasy5SLVRIIWD5JQA6zd3DGUin0ujwE0MGiH/4WsU1vr7DM4sX6/W9CZTCmANIIetQ== 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=t2n5SlDNCG42mvwqozchiOjfRxijPOXAAvG6nZ+W5jo=; b=Tz+lRcLBzFogqr2tzQMMbWueqCKmJ6jC1n+h1MYURi/bSnjfCsOGkRx5WPFmSj4la6eb15K6cW1reU39SVfK45NkVIFLo5eNhd/BJkKsvJp7BIEuCbd64ePpc7w35Qni217liG08C6yvYxyQPhY+6Yj6REzTsIi9tYBZoSp2oCC8onJHUSDipbUcYe82iPri6EVtghWFCtbbUMjKgdyZ5eQR/7rSLOUPH4Ewv/qY/t3uTHFXUj6Wy5YLFr2A4sX3fO33gbGSy5qHUrzV3moHXwEXR4klhp4cg+DvnpbtSyOBkn6wqewee57dpoj7ox0yG09UYPnvrASqVoQOs6p53g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=t2n5SlDNCG42mvwqozchiOjfRxijPOXAAvG6nZ+W5jo=; b=irx6eyf+aGx5tWwL50xg114P/oM4mtx6o7m19FXmFDhovg/d6KnteVb1CzmRs0dygzlAH0MHN21B+1D7HVfD8YxBdYN7JW32DfsRJY/uNBZW1g64PatIDK1MYjQsDMDF/K7quUAXK8NegtKiA4DcXFiNuplXV7C5xfcWqT1lYHw= Received: from SN6PR11MB2574.namprd11.prod.outlook.com (2603:10b6:805:59::14) by SN6PR11MB3423.namprd11.prod.outlook.com (2603:10b6:805:db::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.16; Tue, 11 Aug 2020 20:13:50 +0000 Received: from SN6PR11MB2574.namprd11.prod.outlook.com ([fe80::54:b143:c75e:41bd]) by SN6PR11MB2574.namprd11.prod.outlook.com ([fe80::54:b143:c75e:41bd%7]) with mapi id 15.20.3261.025; Tue, 11 Aug 2020 20:13:50 +0000 From: "Eads, Gage" To: Steven Lariau , Olivier Matz CC: "dev@dpdk.org" , "honnappa.nagarahalli@arm.com" , "dharmik.thakkar@arm.com" , "nd@arm.com" Thread-Topic: [PATCH 4/4] test/stack: remove atomics operations Thread-Index: AQHWa0E5QjPks88EOEamg7qZv47if6kzYNIQ Date: Tue, 11 Aug 2020 20:13:50 +0000 Message-ID: References: <20200805155721.19808-1-steven.lariau@arm.com> <20200805155721.19808-5-steven.lariau@arm.com> In-Reply-To: <20200805155721.19808-5-steven.lariau@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [68.203.30.51] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 247efe22-fb59-46a5-a295-08d83e330fec x-ms-traffictypediagnostic: SN6PR11MB3423: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4125; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SqlZEwxEhb0UTOlHOU8cigeiUV/CzP0fz9ZaO3CsSbkckzYwhWmV+2NeRlGX8PfIgYRyfVwCXk+MyP+yk+Qt02iYbTykpORSiBbpHKrJaG0Mt4f+T5aJ9DVAZ8pP+fB2dX0elDWuf8MHm+hls1A+bkdCwHT3gCBPx+RQ8qqmoYwwx2gP6uNS4L6As4vYFv0IvBplAzL4oCUWfK7tH4WB+TBv07jbPY6QIYOivwmwpxIO9B5Qo34zy5Qr5dvkh7MfYz+CBX2cTvPry7vMQjrAJ33l2KlNbIF6HRJgnCvUmeiSvnOZM6KyHWGIGY/NAOwutJQq3e7OaRGV74i7XjtEOw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2574.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(376002)(396003)(366004)(39860400002)(136003)(52536014)(5660300002)(2906002)(110136005)(316002)(6506007)(8936002)(54906003)(186003)(53546011)(7696005)(26005)(33656002)(478600001)(4326008)(83380400001)(9686003)(64756008)(76116006)(66946007)(66446008)(8676002)(66556008)(66476007)(55016002)(71200400001)(4744005)(86362001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: Tu9kQVaIUtpJsRbWPDmkE4+MzeHd1L0vbwLV/KcNJoFmy2apQVmTirzL31z57E/oQdWXXwDXzrKzPMeqsIQmaImlrwbkO1n16IrFAJJcQt8dgnbh7kmaFmLcDZxz0KBCTtWdPNetfMmA7nyS8oqp/I40NpGf/0XJcPsiLbazFzp92iBGRPlJd28kDoIx9znh/nkLs+2QFIjlM3RGdobFP6FNOxS8WxbqI6eI5k0zCunnQurYZ35T6fU6wvsOmwwHzFJVw75a9Nn9DbWjQelJ+5vT9eLpSsggCr+i30v48vMMfB30HY1M/0hPiaKgIsM4e9W86qJ0zbN7rGbh0QnodjhDgdoyXYmJIfMQUoTf+fUAeWJ1ubsNweJkQDeJkIA7NsQy12znWYGD/m92ngiSr7Nq298V5gPJxG7o/aZRDi1C/t8fwtJgu/cdu1sGfJ+3+3LuuukTWXo71v6TL34dUWVFw+Vrd1w0LY4qXwfq9L8K82v0e9VCJ8iBlWO0P+qZOgZb2yneUhZW1oBX3outrCDwNWYPKJM3hdnoBS1XhDiezzcWolwcDdgL2CAJWVlP5ZVyupQzehnng1zcCpZQmyG6ppmfIIxuwdRNTSRIkg9jzJhDD/6VaMRY1YyhkRvLnezUU63nDe4ULFpbmYOIxw== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2574.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 247efe22-fb59-46a5-a295-08d83e330fec X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Aug 2020 20:13:50.3346 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: kJ3UFpzE56vQN4uTwrqMreZtEwl0owwLDaq4osXmq2iHs9699u4t/cIBU8r63GDAjwQ6ptF5842ndng2rjoo4A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3423 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 4/4] test/stack: remove atomics operations 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" > -----Original Message----- > From: Steven Lariau > Sent: Wednesday, August 5, 2020 10:57 AM > To: Eads, Gage ; Olivier Matz > > Cc: dev@dpdk.org; honnappa.nagarahalli@arm.com; > dharmik.thakkar@arm.com; nd@arm.com; Steven Lariau > > Subject: [PATCH 4/4] test/stack: remove atomics operations >=20 > Remove the part that checks if there is enough room in the stack, it's > always true as long as size of stack >=3D MAX_BULK*rte_lcore_count(). > This check used an atomic cmpset, and read / write to a shared size > variable. These operations result in some form of synchronization > that might get in the way of the actual stack testing. >=20 > Signed-off-by: Steven Lariau > Reviewed-by: Dharmik Thakkar > Reviewed-by: Phil Yang > Reviewed-by: Ruifeng Wang Nice simplification, and thanks for the good contributions to these tests. Acked-by: Gage Eads