From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id ABDFD3238 for ; Thu, 27 Dec 2018 13:08:33 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id wBRC5NkH032561; Thu, 27 Dec 2018 04:08:30 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=pfpt0818; bh=ynJCbMZYJ7lXo16njb2YG5hruF1CsPqVrIb3ILDgjok=; b=JePOFPNuJr/O4jzdNQUgLZJLo+FPm69//XhIkYAJGScpb4tc0ECAYX8gU9x4v1zGZyG8 SWdlKEYSSRqVpCKH71CzrD0mg2aefTvMkxGvAUbs154RicOg+Yg2HU9XyD6kfHda3Ohi GCC3Y08NaZChnn65mY0uH07JgMQE/Bfy2dd4sD9/WCrGIwjTQ/lpQlmGfKenk5zOCPwk 84SCVVUEXZrhhgR1ZDLjqXKBryS5hIx5Ia5+VTdRWdaD0jJJnxutqgCzJGTGsCx5Paoy 1w5HcgIYUjBD7pvPqaWzk1KC2xZrjzKam8dumVSkcQYkFmBicTCho13sF/NwzPVxRi9i wg== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 2pmx2d02u9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 27 Dec 2018 04:08:30 -0800 Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 27 Dec 2018 04:08:28 -0800 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (104.47.34.55) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Thu, 27 Dec 2018 04:08:28 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ynJCbMZYJ7lXo16njb2YG5hruF1CsPqVrIb3ILDgjok=; b=neCZ3N+BdKdTS9G7d6rITbq259ti8b5VUwL5iuaBEPAVSKsC7LxcqprSrU5mo5YhzLgABLJBJEyPSHcqWjKJaC3AieciCKBlXmwssH/x+mjkQ5XaZKe3gO24EXVUrUS73sAX2d5x0ZLy8aTeHBrzUdeF0Ek5JSSS6wGSCFbUI4o= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2870.namprd18.prod.outlook.com (20.179.58.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1471.20; Thu, 27 Dec 2018 12:08:27 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::1d21:75dc:c1d9:65f1]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::1d21:75dc:c1d9:65f1%2]) with mapi id 15.20.1471.019; Thu, 27 Dec 2018 12:08:26 +0000 From: Jerin Jacob Kollanukkaran To: "Gavin.Hu@arm.com" , "dev@dpdk.org" CC: "david.marchand@redhat.com" , "chaozhu@linux.vnet.ibm.com" , "nd@arm.com" , "bruce.richardson@intel.com" , "thomas@monjalon.net" , "Joyce.Kong@arm.com" , "hemant.agrawal@nxp.com" , "stephen@networkplumber.org" , "Honnappa.Nagarahalli@arm.com" Thread-Topic: [EXT] [PATCH v3 6/6] spinlock: ticket based to improve fairness Thread-Index: AQHUnZqomFBNE9TEfU6Nc1HRrILB+6WSJ3OAgAA0wwCAACJRgA== Date: Thu, 27 Dec 2018 12:08:26 +0000 Message-ID: <235244228ee4d6b30f268fc72837c6b0790d7037.camel@marvell.com> References: <20181227041349.3058-1-gavin.hu@arm.com> <20181227041349.3058-7-gavin.hu@arm.com> <47217c425060db295626c741b9e83f17b63a39bd.camel@marvell.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [106.208.41.136] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BYAPR18MB2870; 20:zEpcw2jxgTPGxUG79lFpIQlWyuDqOmC23QenNn9bakApQcCA4mdJAA3CEWoO2YlTUlGhJwMAxYFPTUlOFKcwx7l2M69aqOUt2HAEW+7bZIV5eJD0KTHPH+zZ0q9C/204sOCK10xW22xRU6N9dinFKnUTp5HE5T1EZ0ZmX7lNF3w= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 5e045b24-7745-4edb-6632-08d66bf40208 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR18MB2870; x-ms-traffictypediagnostic: BYAPR18MB2870: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(2401047)(8121501046)(93006095)(93001095)(3231475)(944501520)(52105112)(10201501046)(3002001)(6041310)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:BYAPR18MB2870; BCL:0; PCL:0; RULEID:; SRVR:BYAPR18MB2870; x-forefront-prvs: 0899B47777 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(376002)(136003)(366004)(346002)(396003)(13464003)(199004)(189003)(229853002)(2906002)(99286004)(54906003)(71200400001)(71190400001)(476003)(66066001)(6436002)(5660300001)(11346002)(2616005)(446003)(6486002)(486006)(316002)(2501003)(86362001)(7416002)(78486014)(110136005)(305945005)(7736002)(102836004)(6512007)(68736007)(8676002)(26005)(186003)(53936002)(93886005)(6506007)(478600001)(14454004)(105586002)(53546011)(106356001)(4001150100001)(256004)(4326008)(14444005)(8936002)(97736004)(118296001)(36756003)(6246003)(25786009)(3846002)(6116002)(76176011)(81156014)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2870; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: wQko2hzxdR9b6OXYJI+U380WlTVV4I4M1PYqw32QctjOOVbXpqR/lvyC5yCP13JNZM1tJzF91n5aJF9K93jfqNPcyZmjVJdYj/tak9dP1gVbEddR39PlKxDQ02cRVfGSyohJZT5bmR4aA4ACaMvpPsD/tZxyDaZnnBv783vyNOYYub2CBHAuYkFZIrlZLFtdKZ7Ru1eSz8IxqExR+rXhSml9BmanXwv5e119ntackuPcFq487f4yWO1RToquPH3ygB0J/PJR13PxXE2hCtoYT7oM7ZRJNVEC1oBaeA0Dl0OZ3DMsJbeNr5f34v0rg9PW spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <2A732A8DA425444A95C819D026093211@namprd18.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 5e045b24-7745-4edb-6632-08d66bf40208 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Dec 2018 12:08:26.7839 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2870 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-12-27_09:, , signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=687 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1812270111 Subject: Re: [dpdk-dev] [EXT] [PATCH v3 6/6] spinlock: ticket based to improve fairness 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: Thu, 27 Dec 2018 12:08:34 -0000 T24gVGh1LCAyMDE4LTEyLTI3IGF0IDEwOjA1ICswMDAwLCBHYXZpbiBIdSAoQXJtIFRlY2hub2xv Z3kgQ2hpbmEpDQp3cm90ZToNCj4gPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiA+IEZy b206IEplcmluIEphY29iIEtvbGxhbnVra2FyYW4gPGplcmluakBtYXJ2ZWxsLmNvbT4NCj4gPiBT ZW50OiBUaHVyc2RheSwgRGVjZW1iZXIgMjcsIDIwMTggMjo1OCBQTQ0KPiA+IFRvOiBHYXZpbiBI dSAoQXJtIFRlY2hub2xvZ3kgQ2hpbmEpIDxHYXZpbi5IdUBhcm0uY29tPjsgDQo+ID4gZGV2QGRw ZGsub3JnDQo+ID4gQ2M6IGRhdmlkLm1hcmNoYW5kQHJlZGhhdC5jb207IGNoYW96aHVAbGludXgu dm5ldC5pYm0uY29tOyBuZA0KPiA+IDxuZEBhcm0uY29tPjsgYnJ1Y2UucmljaGFyZHNvbkBpbnRl bC5jb207IHRob21hc0Btb25qYWxvbi5uZXQ7DQo+ID4gSm95Y2UNCj4gPiBLb25nIChBcm0gVGVj aG5vbG9neSBDaGluYSkgPEpveWNlLktvbmdAYXJtLmNvbT47DQo+ID4ga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