From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id BD0D11B3AE for ; Mon, 14 Jan 2019 08:59:49 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x0E7tMEd004716; Sun, 13 Jan 2019 23:59:45 -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=IaaxrAgdFnnbgVdNrgFDg5i9V7emK/Me/Ub4SGUCN2o=; b=HHlXhhcQFuGieO4AWtdIng/uAwPhXTbAjW491Hpp7Hj2VUFrOisoAtuRkQcfEkYqP93H jZ7IRUCPitlFuwGOWvDdP/jQ1T5tzud5t0f6OMLXytBoIyPQSsVrlZbcPsI7F/ADrQ3D LUMXhKaA482piraYVa0mr1rQvkvvcT9SvsM3E91+3MwZToj1mYcpBKRPh4vowWEGnl7o /GTtV3MIV0NXgib3WS94DzV7hq1WbidUGWa0lnSzWMXVzQEBwy92fdcOBxVVQ/U/t+sq +DdE9o6aras69lho34DGuH5Hfihco172BDcAfK2zZk0Qxu1rdTQrS4VZghHNeaXxDOzD jw== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2pyefpw1uu-18 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 13 Jan 2019 23:59:45 -0800 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 13 Jan 2019 23:59:44 -0800 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (104.47.40.52) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Sun, 13 Jan 2019 23:59:44 -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=IaaxrAgdFnnbgVdNrgFDg5i9V7emK/Me/Ub4SGUCN2o=; b=vtizLuN8gjU9HWddD2Cj6/Mbg/z3ffDswbVyYRafjgM5cLUBSaZFu+Pc7nOrSahXVp9aRPAw5jSCa0B1kXnRCVfsf0bV+irdyIRQ3s6rpkCz5c8js+r2IxwcgSTFWU+lvs5vLGgRGlW8rwuHPF6kixHJRb5/DlWLsPD1gN2i11E= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2455.namprd18.prod.outlook.com (20.179.92.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.17; Mon, 14 Jan 2019 07:59:42 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::6deb:2bc0:4c72:7688]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::6deb:2bc0:4c72:7688%4]) with mapi id 15.20.1516.019; Mon, 14 Jan 2019 07:59:42 +0000 From: Jerin Jacob Kollanukkaran To: "gavin.hu@arm.com" , "dev@dpdk.org" CC: "stephen@networkplumber.org" , "Honnappa.Nagarahalli@arm.com" , "thomas@monjalon.net" , "nd@arm.com" , "joyce.kong@arm.com" , "hemant.agrawal@nxp.com" Thread-Topic: [EXT] [PATCH v1] ticketlock: ticket based to improve fairness Thread-Index: AQHUq07W33ZyklCFUEykJz3SmtFOuaWuZ5eA Date: Mon, 14 Jan 2019 07:59:42 +0000 Message-ID: <9c5616fd94e16279dd51aa19e22c2fd14dec7e02.camel@marvell.com> References: <20190113144631.23493-1-gavin.hu@arm.com> In-Reply-To: <20190113144631.23493-1-gavin.hu@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [122.167.124.188] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BYAPR18MB2455; 20:odm3xzLTi3im1etKSm9IsT9Xh9ZehXZ2mlF45R/YiWwChVSAN9nGhgbiVtKg20mIoO693oFIZerDJaTkssKBxVq2yX+c5uRpxvdA/OH09g2BnmR2rrP6w1qHcoJwRrcpPStEpz47ziS1ghLXk3vQdDE69LZLpjvcb90dXkmMQp8= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: bb01f7a0-e0e6-425d-63ca-08d679f63dc0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR18MB2455; x-ms-traffictypediagnostic: BYAPR18MB2455: x-microsoft-antispam-prvs: x-forefront-prvs: 0917DFAC67 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(199004)(189003)(106356001)(105586002)(2906002)(6116002)(3846002)(36756003)(86362001)(498600001)(14454004)(78486014)(71190400001)(71200400001)(118296001)(6486002)(229853002)(66066001)(6436002)(5660300001)(26005)(186003)(97736004)(68736007)(8676002)(7736002)(81166006)(81156014)(11346002)(54906003)(8936002)(305945005)(446003)(486006)(2501003)(76176011)(2616005)(476003)(256004)(14444005)(4326008)(53936002)(6246003)(6512007)(6506007)(25786009)(102836004)(99286004)(110136005); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2455; 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: 39AnOpQo3ovDTAwpwqnfeXNZJNbtNAnTBpE+R8O8DfyfXdKyK3vQPGCdZWpgXR8v431sYipjqL0AxrC6qN+RX+15oM0nSugovPP8+EdOFJcpWQ12GgNDi/zeMrGZVlk/3qVD1H6/0xPT7OcbprNRSQ5xvhcJqACbs/e0M0DAanzZ//fCEq3+I8S9qWYZgrgzG7ONJLnRNU657Cmmz+6qk+O3ZS8Jh//GqzWuT6h253vHEDPgcXMtkAAJTjDQ42Z6AJjrUT32jKbCnNfsBIFRZ5H/Dt0EFDnumMVNnkxs/B0G2orb7Y6n+B+ze+vS3Z51skxCpO6ej/9BNllLOsVKW31ohWilIegilsAhfixZEnd9NxrvKYsw3fNUSEtuLp0j6KCDmnc3cy01jTX6eu4ay9vn1ZXujni8s9dhGlSocRw= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <6662D6A999F50B43B4B33A901B8D8A12@namprd18.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: bb01f7a0-e0e6-425d-63ca-08d679f63dc0 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jan 2019 07:59:42.3656 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2455 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-01-14_04:, , 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=596 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901140069 Subject: Re: [dpdk-dev] [EXT] [PATCH v1] ticketlock: 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: Mon, 14 Jan 2019 07:59:50 -0000 T24gU3VuLCAyMDE5LTAxLTEzIGF0IDIyOjQ2ICswODAwLCBHYXZpbiBIdSB3cm90ZToNCj4gLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLQ0KPiAtLS0NCj4gRnJvbTogSm95Y2UgS29uZyA8am95Y2Uua29uZ0Bhcm0uY29tPg0K PiANCj4gVGhlIHNwaW5sb2NrIGltcGxlbWVudGF0aW9uIGlzIHVuZmFpciwgc29tZSB0aHJlYWRz IG1heSB0YWtlIGxvY2tzDQo+IGFnZ3Jlc3NpdmVseSB3aGlsZSBsZWF2aW5nIHRoZSBvdGhlciB0 aHJlYWRzIHN0YXJ2aW5nIGZvciBsb25nIHRpbWUuDQo+IEFzDQo+IHNob3duIGluIHRoZSBmb2xs b3dpbmcgdGVzdCwgd2l0aGluIHNhbWUgcGVyaW9kIG9mIHRpbWUsIHRoZXJlIGFyZQ0KPiB0aHJl YWRzIHRha2luZyBsb2NrcyBtdWNoIG1vcmUgdGltZXMgdGhhbiB0aGUgb3RoZXJzLg0KPiANCj4g VGhlIHRpY2tldGxvY2sgZ2l2ZXMgZWFjaCB3YWl0aW5nIHRocmVhZCBhIHRpY2tldCBhbmQgdGhl eSBjYW4gdGFrZQ0KPiB0aGUNCj4gbG9jayBvbmUgYnkgb25lLCBmaXJzdCBjb21lLCBmaXJzdCBz ZXJ2aWNlZCwgdGhpcyBhdm9pZHMgc3RhcnZhdGlvbg0KPiBmb3INCj4gdG9vIGxvbmcgdGltZSBh bmQgaXMgbW9yZSBwcmVkaWN0YWJsZS4NCj4gDQo+ICoqKiBzcGlubG9ja19hdXRvdGVzdCB3aXRo b3V0IHRoaXMgcGF0Y2ggKioqDQo+IENvcmU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