Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DE036C61D97 for ; Thu, 26 Jan 2023 22:10:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233172AbjAZWKk (ORCPT ); Thu, 26 Jan 2023 17:10:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232176AbjAZWKf (ORCPT ); Thu, 26 Jan 2023 17:10:35 -0500 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A74C3D0BD for ; Thu, 26 Jan 2023 14:10:23 -0800 (PST) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-405-y5mIwwBZNUOlhd0pYTFUaw-1; Thu, 26 Jan 2023 22:10:20 +0000 X-MC-Unique: y5mIwwBZNUOlhd0pYTFUaw-1 Received: from AcuMS.Aculab.com (10.202.163.4) by AcuMS.aculab.com (10.202.163.4) with Microsoft SMTP Server (TLS) id 15.0.1497.45; Thu, 26 Jan 2023 22:10:19 +0000 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.045; Thu, 26 Jan 2023 22:10:19 +0000 From: David Laight To: 'Hernan Ponce de Leon' , "Peter Zijlstra" CC: Waiman Long , "paulmck@kernel.org" , Arjan van de Ven , "mingo@redhat.com" , "will@kernel.org" , "boqun.feng@gmail.com" , "akpm@osdl.org" , "tglx@linutronix.de" , "joel@joelfernandes.org" , "stern@rowland.harvard.edu" , "diogo.behrens@huawei.com" , "jonas.oberhauser@huawei.com" , "linux-kernel@vger.kernel.org" , "Hernan Ponce de Leon" , "stable@vger.kernel.org" , Jonas Oberhauser Subject: RE: [PATCH] Fix data race in mark_rt_mutex_waiters Thread-Topic: [PATCH] Fix data race in mark_rt_mutex_waiters Thread-Index: AQHZMcpF963KryQ2wkKgjWr8rumcCK6xQHyQ Date: Thu, 26 Jan 2023 22:10:19 +0000 Message-ID: <004045af7a2b4abaa5f4d9840371da60@AcuMS.aculab.com> References: <20230120135525.25561-1-hernan.poncedeleon@huaweicloud.com> <562c883b-b2c3-3a27-f045-97e7e3281e0b@linux.intel.com> <20230120155439.GI2948950@paulmck-ThinkPad-P17-Gen-1> <9a1c7959-4b8c-94df-a3e2-e69be72bfd7d@huaweicloud.com> <20230123164014.GN2948950@paulmck-ThinkPad-P17-Gen-1> <9da70674-42e0-9aaa-edab-c606ca8dd2e8@huaweicloud.com> In-Reply-To: <9da70674-42e0-9aaa-edab-c606ca8dd2e8@huaweicloud.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogSGVybmFuIFBvbmNlIGRlIExlb24NCj4gU2VudDogMjYgSmFudWFyeSAyMDIzIDIxOjA3 DQouLi4NCj4gICBzdGF0aWMgX19hbHdheXNfaW5saW5lIHZvaWQgcnRfbXV0ZXhfY2xlYXJfb3du ZXIoc3RydWN0IHJ0X211dGV4X2Jhc2UNCj4gKmxvY2spDQo+IEBAIC0yMzIsMTIgKzIzMiw3IEBA IHN0YXRpYyBfX2Fsd2F5c19pbmxpbmUgYm9vbA0KPiBydF9tdXRleF9jbXB4Y2hnX3Jl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