From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0074.outbound.protection.outlook.com [104.47.0.74]) by dpdk.org (Postfix) with ESMTP id 5F5C61B1F9; Fri, 5 Oct 2018 16:21:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gb8BVmwnBs1zC9u8j9EpB0zTcOyZyvUNylUAXQexNo8=; b=kFOugzyn8auFuAJdM4D1hN/znOsVd93IYRXe7HyYIeKJ5NB+i1pSHvFSnSDyPYpE8zNLfFvhBM9n7zMny+Ln6gZZZ8JxEw6ccagtWwirTfk85ptfvKnmlmu+MuYEeCoERKNWznCfNIubBsj/SPxPBBHPpYp9Jyb1WJs/1w64PgU= Received: from HE1PR0801MB2076.eurprd08.prod.outlook.com (10.168.95.140) by HE1PR0801MB1452.eurprd08.prod.outlook.com (10.167.190.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.21; Fri, 5 Oct 2018 14:21:09 +0000 Received: from HE1PR0801MB2076.eurprd08.prod.outlook.com ([fe80::c84:eee7:43bf:9f20]) by HE1PR0801MB2076.eurprd08.prod.outlook.com ([fe80::c84:eee7:43bf:9f20%11]) with mapi id 15.20.1207.024; Fri, 5 Oct 2018 14:21:09 +0000 From: Ola Liljedahl To: "Ananyev, Konstantin" , "Gavin Hu (Arm Technology China)" , Jerin Jacob CC: "dev@dpdk.org" , Honnappa Nagarahalli , Steve Capper , nd , "stable@dpdk.org" Thread-Topic: [PATCH v3 1/3] ring: read tail using atomic load Thread-Index: AQHUTl7o9KT3/H6K10G5NrmKOHANTqUHJ0+AgAjF7gCAAH79gIAAUg2AgAAF3wCAAAI9gIAAK7cA Date: Fri, 5 Oct 2018 14:21:09 +0000 Message-ID: <085B3F9C-FCB5-47C9-9FB3-B56211FD5FED@arm.com> References: <20180807031943.5331-1-gavin.hu@arm.com> <1537172244-64874-1-git-send-email-gavin.hu@arm.com> <20180929104857.GA30457@jerin> <2601191342CEEE43887BDE71AB9772580102FE261A@IRSMSX106.ger.corp.intel.com> <621E373E-048D-4808-8CE8-84373EA98D2F@arm.com> <2601191342CEEE43887BDE71AB9772580102FE2951@IRSMSX106.ger.corp.intel.com> In-Reply-To: <2601191342CEEE43887BDE71AB9772580102FE2951@IRSMSX106.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/10.10.0.180812 authentication-results: spf=none (sender IP is ) smtp.mailfrom=Ola.Liljedahl@arm.com; x-originating-ip: [158.174.8.16] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR0801MB1452; 6:6vIL6CEOIfnrAFnCJ6j9yewi61fcCNaRjOfhiqJMKtbsuOai74bp+w1JXlp6d9sC3jRxK7gG9fllQSaFCrUthGulNSUPVn/CONppTVhf3iDVwGQ5pzLJ56SMSNTQn8x+7nGpikdZrFilZv4138pv6w/E5maPC+SE2GqlQ5a5oO7D71RmA7OoMc3DarIfuFDRX6izftrjEmNfHx2/TCgFEa2OEg9o3cqNzTye99PDpDxrjBsG+la9qnw4mSno/uqmOtUGwK3mlIWnl98EbkPIIvpssCsIsb0OTHzC3Fr++26duSnil72r8n+CLCtj7R2LSVhFnWS7p75JrQfn8CKcUIBskwmlqXZDp8erB6t3q4osOygjwXJfsxJNt4kZFpXv0m9F5R5KrM9lpQY2qHtXuyv5CgxXxNitiJqIACjk66pURhd0x8o/dx9MQDo2i7LDHOoUTl5xW/1zpbC8CCJK4A==; 5:dHRRhd872p+nAq7G8+4bTTyn42U8cI1TS7Q6kBinIQ12Oy5sK+2gEct1oyd9vB+gHTgZT6zcRRmZ65+pmAx1qo6gMdI4E/Izm3b1b4lI61SLDBnjycbzWvjQJHuqvoBQACg+I4fKIaaTUR/EwhjAuY17H44SgdYfz8VTP7aW36g=; 7:csBw2lJBS0ZaXht78XQHmjGlN5UR6E4VqnH9i/DX+nVAAhW8Ptc+2of5JciX8Uo6n2pEFNe78WOt2n6c11MAvAXIxJ2ryao289okJ7JlRe+xtV6N4uEkHUP58KT4Fx7SnexU2DvZRNNWLYjdhWwLo0nC3e508R4+2tzdddIZFGXuQ91JFU8ufAR7Co3lOvDwQc/ok6/SgHKC+7h5WeNteGO3YrJYarX8lKpoD1KC9Mvses5l7YvOJeNk3zdU5eE1 x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-ms-office365-filtering-correlation-id: 0a1169a5-ea57-4cfb-9cd3-08d62acdcb9f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:HE1PR0801MB1452; x-ms-traffictypediagnostic: HE1PR0801MB1452: nodisclaimer: True x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(3231355)(944501410)(52105095)(93006095)(93001095)(10201501046)(6055026)(149066)(150057)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(201708071742011)(7699051); SRVR:HE1PR0801MB1452; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0801MB1452; x-forefront-prvs: 0816F1D86E x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(136003)(376002)(396003)(346002)(189003)(199004)(229853002)(93886005)(316002)(486006)(76176011)(2616005)(476003)(6436002)(36756003)(8676002)(81156014)(81166006)(86362001)(72206003)(8936002)(5660300001)(5250100002)(6486002)(478600001)(99286004)(11346002)(4326008)(110136005)(6506007)(25786009)(2900100001)(446003)(14454004)(54906003)(58126008)(6512007)(82746002)(102836004)(2906002)(66066001)(7736002)(3846002)(305945005)(6246003)(186003)(26005)(71200400001)(53936002)(71190400001)(83716004)(33656002)(106356001)(68736007)(256004)(14444005)(6116002)(105586002)(97736004); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0801MB1452; H:HE1PR0801MB2076.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-microsoft-antispam-message-info: WkGv5Gb7nYGEPcGk+A+sBaEADphjJNkLX3so2IQ20thM8ciOs1POd1arAvPRK3BzpgdjTaorML5DlV4b0mAukXH3t8qwwjQEWuSsVESFmb2/65e+t8+//AqUN17h8zV6C0TH+wqkgQ9y+ZVMDmpmxaYgIOabIeU0v7pP1QwGAwvfbWjdqakdOhFUNtG5LuRwfOE3K0fWqFKwq6JqJ/RugEojSFkpiZVi0WzVpZzO+uWPOqa+WmIC6PTSesD8+Kbh5300zAx8sCSV9IEoQONqqQxBjDLw7/UWBY7jTbfl549SMnxwXGoihSB7CDfP6uNvoAGZuK+z84MKDz/yJpG82m0oJCIa2JT7Y9ZcRmMbaBY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a1169a5-ea57-4cfb-9cd3-08d62acdcb9f X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Oct 2018 14:21:09.0930 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1452 Subject: Re: [dpdk-dev] [PATCH v3 1/3] ring: read tail using atomic load 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: , X-List-Received-Date: Fri, 05 Oct 2018 14:21:11 -0000 DQoNCu+7v09uIDA1LzEwLzIwMTgsIDE1OjQ1LCAiQW5hbnlldiwgS29uc3RhbnRpbiIgPGtvbnN0 YW50aW4uYW5hbnlldkBpbnRlbC5jb20+IHdyb3RlOg0KDQogICAgV2UgYWxsIGtub3cgdGhhdCAz MmJpdCBsb2FkL3N0b3JlIG9uIGNwdSB3ZSBzdXBwb3J0IC0gYXJlIGF0b21pYy4NCldlbGwsIG5v dCBuZWNlc3NhcmlseSB0cnVlIGZvciB1bmFsaWduZWQgbG9hZHMgYW5kIHN0b3Jlcy4gQnV0IHRo ZSAicHJvYmxlbSIgaGVyZSBpcyB0aGF0IHdlIGFyZSBub3QgZGlyZWN0bHkgZ2VuZXJhdGluZyAz Mi1iaXQgbG9hZCBhbmQgc3RvcmUgaW5zdHJ1Y3Rpb25zICh0aGF0IHdvdWxkIHJlcXVpcmUgaW5s aW5lIGFzc2VtYmx5KSwgd2UgYXJlIHBlcmZvcm1pbmcgQy1sZXZlbCByZWFkcyBhbmQgd3JpdGVz IGFuZCB0cnVzdCB0aGUgY29tcGlsZXIgdG8gZ2VuZXJhdGUgdGhlIG1hY2hpbmUgaW5zdHJ1Y3Rp b25zLg0KDQogICAgSWYgaXQgd291bGRuJ3QgYmUgdGhlIGNhc2UgLSBEUERLIHdvdWxkIGJlIGJy b2tlbiBpbiBkb3plbiBwbGFjZXMuDQpBbmQgbWF5YmUgaXQgaXMsIGlmIHlvdSBjb21waWxlIGZv ciBhIG5ldyBhcmNoaXRlY3R1cmUgb3Igd2l0aCBhIG5ldyBjb21waWxlciAod2hpY2ggYXJlIGdl dHRpbmcgbW9yZSBhbmQgbW9yZSBhZ2dyZXNzaXZlIHdpdGggcmVnYXJkcyB0byB1dG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