Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758265AbcCVCVe (ORCPT ); Mon, 21 Mar 2016 22:21:34 -0400 Received: from mail-by2on0134.outbound.protection.outlook.com ([207.46.100.134]:42425 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750852AbcCVCVc (ORCPT ); Mon, 21 Mar 2016 22:21:32 -0400 Authentication-Results: infradead.org; dkim=none (message not signed) header.d=none;infradead.org; dmarc=none action=none header.from=hpe.com; Message-ID: <56F0AC23.60401@hpe.com> Date: Mon, 21 Mar 2016 22:21:23 -0400 From: Waiman Long User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130109 Thunderbird/10.0.12 MIME-Version: 1.0 To: Peter Zijlstra CC: Ingo Molnar , , Scott J Norton , Douglas Hatch Subject: Re: [PATCH] locking/qrwlock: Allow multiple spinning readers References: <1458444079-59601-1-git-send-email-Waiman.Long@hpe.com> <20160320104326.GM6344@twins.programming.kicks-ass.net> In-Reply-To: <20160320104326.GM6344@twins.programming.kicks-ass.net> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [72.71.243.139] X-ClientProxiedBy: CY1PR08CA0037.namprd08.prod.outlook.com (25.163.94.175) To TU4PR84MB0320.NAMPRD84.PROD.OUTLOOK.COM (25.162.186.30) X-MS-Office365-Filtering-Correlation-Id: 62bc5826-6a0e-44c0-076c-08d351f8ae66 X-Microsoft-Exchange-Diagnostics: 1;TU4PR84MB0320;2:65IFPlYmDglOsnkfBlANRJODdCcsSgzyvvco3E4FLLL4H1wMHnba/3FjBPyTaJol1W40/y4aXqXJ95JFOEDiL37MW6WAyM1ERLkmOBU9/PJWXogtGT2WtQWMcVWYPwI5IPhiTCu6k/E/9WUkaM8k6O/wtj8BHR+AvsykSMmZv+fbCwDEuVHnmjNm26VDix4S;3:FuPY8tx3W2fGJbHQDeheoaoEI4ER+1UmOh572LZ6JUhn2SJfwYznTWuoFvTnW7Nauz38RxqMCcJe2LvQAEA+yWCc4nbNNr/bt5m4Cek9/e/JjRVf/sEQz3yAN/LyzEO1;25:Z21nJF3XO4Tjae8QMN6H3/njIlrsvkPO6tZCgOMh+X4O7Y08lys/vR5+KXl79XCawcoNEfVffT2qoShz4VhD5MGL04I8p39AlOWRSWc7Iz7uODfeG6QlJqu/VjS/NUzIx6V034s3a7G4cwWweiJACj2syNcqv8PAV83T00d5dFYxEkU9hVCbUCqEfdsK2KEQtt0iqrGIj1KzeHtB08YTImNNLClreG6aKObDvnnGawzxp6OYhiLsxBXjGZiXBtg/2OwTHtarlQMtiWzsPnkM3ysDGELombCwRDfO++bZus3+I4lfPyttiKprj8bH2wjBfNlRwfaWG6QKHxpxk63+G/Kdgfx5ufvs777Ikh5uctMiWDyhfC/k74ybBP4V5yi+wnSL931LFWy2OcA9Um0BdwLJsdLyO9kRzooF6MVdKZew+DOsmdOimxfvOad3X5tOSshTA+nTVRlXOjJCWxnJqA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:TU4PR84MB0320; X-LD-Processed: 105b2061-b669-4b31-92ac-24d304d195dc,ExtAddr X-Microsoft-Exchange-Diagnostics: 1;TU4PR84MB0320;20:2yvkU7ln/oEfI+cuRe/QkyP7Tid1Hnbn8Ohraud4W7/RfnIpHq+OPzzO1uzMmboOBGm8Dvr20E9cqV50r7oz/o1KziDL+r35xeq2Ded/kCKF3a8qDX6Uojg6L15HYgU1FvEyXz48Geh/W0zMA392Jsum+Uf/Fcy+vDqq7pDHod+bfulCl/06LBnTzwojKOt/bL1M4x/F/rNRcygFB6+6A9jTg9OTyq6u5xTqFafqrC2/gA4AeKzTZ6RziGmXl9GAioQXU6Ut20TPkp0Mg5PFO3zZH+9nrgQVa+du9E3oSfPlXyhZ3gByLVk++GB8XRwX+PgBcXZ8igAvcyhEQt4FLQ==;4:0AUJNBlikis6wnpD7DVH5nedPkeSPkuijVrgDy2IrwITAkzMw/E+Wspc/ogL1E6fcT/baKpPjmw5sqVOoVdUoab1NJFpSpIKhDMeFn1aaausNphAtQnWERMLG+KuyXaXf2ykulGsui4zmDqwpFZKVvbCVQzEGYjgLdEew3qo/cwvKit9oerTnX4+SyIljCVGES33ESiKLoy8ZjWIlNBM8CsJKIHoRD0EjbmpmWiVlw960u+bgpqewHmOpvVXcehXv1PGmiAFzaEtcoxMs4I0bbLib/kPdUR6/+ch6BOAu9zjoSPiOb9j8UfXPMwDGDp0ZpoFcG4T+Iij5OQveepmIN+5ollP9gpordH9HFrgzH2ChEcALRzkiOgk1A0brQ+z X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001);SRVR:TU4PR84MB0320;BCL:0;PCL:0;RULEID:;SRVR:TU4PR84MB0320; X-Forefront-PRVS: 08897B549D X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6009001)(6049001)(24454002)(377454003)(86362001)(83506001)(64126003)(23756003)(117156001)(92566002)(33656002)(230700001)(42186005)(6116002)(1096002)(65816999)(54356999)(50986999)(76176999)(5004730100002)(586003)(3846002)(65956001)(66066001)(65806001)(47776003)(36756003)(4326007)(558084003)(2906002)(4001350100001)(81166005)(110136002)(5008740100001)(189998001)(77096005)(2950100001);DIR:OUT;SFP:1102;SCL:1;SRVR:TU4PR84MB0320;H:[192.168.142.141];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?iso-8859-1?Q?1;TU4PR84MB0320;23:3/FnY2r3yuUCpumLe2e7i2IE8Yumw0uqsjYhtoZ?= =?iso-8859-1?Q?H/i1me1CjUIuoQNOTDxAtF1O5XbCJS1/MGlRXhVMyEyNecxTmdXTWydfYf?= =?iso-8859-1?Q?95tP6BEfDQfxigb1WPx1TS0q8o+e3Ec3j0TpWp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q?VqU7lAvF4kEw5crXSOewx4k7QWIJJYo0y1blIOKT5rtvQECFdQQeMdDDO?= X-Microsoft-Exchange-Diagnostics: 1;TU4PR84MB0320;5:HodTYrX0ZJghMm7VsZlitttueTOopIT72t3QG49VgB21HAQ6q4cqabwzCzA7M1lZCEfAys8Q2t/a6IlU0vEt9KWpU/zLv2D5KlPJY7DcUToNR8xsO69yA4d/UfAsiaGZ1ECwF6WvfuQGoDNaKDvZdg==;24:N4Plhf05ObxtUav0TqX4Djnc0/ynJ+CiFgkw0tx5k1kPrzf8SxF5yQUjl/Iz+TPj3gEVb0AqqGrpOLxsSJTk0L3e1hDDZPZyFtZ5BHV+Iik= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: hpe.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Mar 2016 02:21:30.2626 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: TU4PR84MB0320 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 256 Lines: 9 On 03/20/2016 06:43 AM, Peter Zijlstra wrote: > We still have that starvation case in mutex, I would think that is far > more important to fix. Peter, I am sorry that I let the mutex patch languish for a while. I will work on that next. Cheers, Longman