From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40087.outbound.protection.outlook.com [40.107.4.87]) by dpdk.org (Postfix) with ESMTP id 3BC825F17 for ; Mon, 14 Jan 2019 17:57:32 +0100 (CET) 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=tkgUsoOyZjUUhjIl6jpzMfDgpu9qmdpuUdIg1q2OO7s=; b=ZMr6Fcviv/3BwLUZoE9p2BtlYEzW1bvtxytw70eTZ4tgWyP216G9lTukolnyelE4OHkfXEZcG1iggrzn02etjLZ9/ajZ8Eh/Sc8CCGwr5QP565E9hrBMAImDRCN7HMWA9ABo1SSw9OwNYYivonjRbhe2Vx+UChtnYl3HBzL37r0= Received: from VI1PR08MB3167.eurprd08.prod.outlook.com (52.133.15.142) by VI1PR08MB3485.eurprd08.prod.outlook.com (20.177.59.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.19; Mon, 14 Jan 2019 16:57:30 +0000 Received: from VI1PR08MB3167.eurprd08.prod.outlook.com ([fe80::8960:6756:4cdc:3954]) by VI1PR08MB3167.eurprd08.prod.outlook.com ([fe80::8960:6756:4cdc:3954%4]) with mapi id 15.20.1516.019; Mon, 14 Jan 2019 16:57:30 +0000 From: "Gavin Hu (Arm Technology China)" To: "jerinj@marvell.com" , "dev@dpdk.org" CC: "stephen@networkplumber.org" , Honnappa Nagarahalli , "thomas@monjalon.net" , nd , "Joyce Kong (Arm Technology China)" , "hemant.agrawal@nxp.com" Thread-Topic: [EXT] [PATCH v1] ticketlock: ticket based to improve fairness Thread-Index: AQHUq07UUJ+wRYRG20Ccmrgozf9Cu6WuZ5gAgACWBtA= Date: Mon, 14 Jan 2019 16:57:30 +0000 Message-ID: References: <20190113144631.23493-1-gavin.hu@arm.com> <9c5616fd94e16279dd51aa19e22c2fd14dec7e02.camel@marvell.com> In-Reply-To: <9c5616fd94e16279dd51aa19e22c2fd14dec7e02.camel@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Gavin.Hu@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR08MB3485; 6:vZXddGibdTAkntKcKPPKnobhmW5/nNlAvxEFXF81ObvztdbzGXHxy9c0FarE3C48jB3qkW0HNPLJR/yWkFluakPr9sghc5otfCjjtLMI9ndhzhqXw9W/qR/yFgOLjjVTDliZqpKY0WfB/DRJ8aIhZDbEGx3h+5/I5wIlyUfQZuYS5+Hdt+BXdwW/y9SyTzOc2Dtor00Ev/Vnn/F9zKtbFAr/U/3lT6S24bQzcOKNshQGk4Fpv5pm8N7jQhjqtBcSSkLDwhY8j6dGjOZtk1TgeMbYIBehlqRHZTqzPJjB9WcJcQFhqY70iBs2R3v03NXuc12N+KtgsZXL3I4MxMDlXyXMcq6OuHurnCZD6o+7EwDMrA453dFw+dmvD6Mtt53eMiJ4/ksF4quEjLSb7SXDVe6BkpKDViYa7l6FRovYGu5ft6G+f7v7WBvKGiHgS9xjqMc0Er6p3FPjUxiGHeZW+g==; 5:xR4rUmFNG1i30zs0k/7L7ce6N3ciTVRUr4DrF6pxgNIVElY8JrURzanc1EBMde3vWyWuNMNv5EXvcM/gjRFR62eIeW2XR6EwmbFHs/EInhNEHNKErXEsi7bjlqkvo/gsp/TO+p/TW0ZeH/y3LszNjtfItObwIEvZhwS0buc2tqUVMETCPc82TMfGWfu/9q57SYAweOM3VMKRguF7IPzP9Q==; 7:8bB1FxNIrjJFu9hrfLBia2OFJQI3M3k39HSPWno0FDXNwi4hhqCQVntQFPZhMGnLkweMgSifUwzysU2xWHYNs6BwuRfMF3dNAaMpMz2vYJMl1d1TcXGO7ag40ZcvO452MvH8KkX741PSMv4fiHEEcQ== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 4c88df62-fd70-4aff-a31a-08d67a415f2b x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR08MB3485; x-ms-traffictypediagnostic: VI1PR08MB3485: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 0917DFAC67 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(366004)(346002)(396003)(136003)(39860400002)(13464003)(189003)(199004)(446003)(11346002)(6246003)(9686003)(14454004)(305945005)(476003)(71190400001)(71200400001)(7736002)(4326008)(53936002)(186003)(8676002)(5660300001)(256004)(81156014)(81166006)(99286004)(14444005)(72206003)(26005)(8936002)(86362001)(25786009)(105586002)(7696005)(76176011)(102836004)(106356001)(97736004)(229853002)(2501003)(55236004)(110136005)(54906003)(2906002)(66066001)(55016002)(6436002)(486006)(3846002)(6116002)(74316002)(6506007)(316002)(478600001)(33656002)(68736007)(53546011); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3485; H:VI1PR08MB3167.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-message-info: bV9OaVQ/lPNSGJHYZ5F0R/BZQmb5wp1ZOjkLNj5q9bTwER1cHphXx1J4cZUmdkWcCAR0GjAJOy1S4PUsnk0QO6IDHhiDBgCfTbRCG0vmSYw2gOZxxOOxm6lLiJ5DIjnL8CtwPVBV9Goahn+5pGcaJlM/nASxwAsGl0LDUxt21Q2lpzTWq+gGke2AiyDeOjoid1QwVzcJrBQmwydQEipSuwQiAFcigW8T6g6C1W1RemBY8Gd75Bt9VGzRlBvX871us3+hwT6/buac20CBaKJ0R48oU7vV1QaVKwC7g0uDDdt9Wia80lSVznvb/dvu54K22gzzDKVHaWC+L30L7LSFjZNRwEv+ULeSEfik5qLm8I4jr+3YIchlruz4Jr7X/l36yUr5GsxBWkLi9U8+XTfS46k2/OjqlcSCmajGiJPEhtQ= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c88df62-fd70-4aff-a31a-08d67a415f2b X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jan 2019 16:57:30.6631 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3485 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 16:57:32 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSmVyaW4gSmFjb2IgS29s bGFudWtrYXJhbiA8amVyaW5qQG1hcnZlbGwuY29tPg0KPiBTZW50OiBNb25kYXksIEphbnVhcnkg MTQsIDIwMTkgNDowMCBQTQ0KPiBUbzogR2F2aW4gSHUgKEFybSBUZWNobm9sb2d5IENoaW5hKSA8 R2F2aW4uSHVAYXJtLmNvbT47DQo+IGRldkBkcGRrLm9yZw0KPiBDYzogc3RlcGhlbkBuZXR3b3Jr cGx1bWJlci5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