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 55847C25B4E for ; Tue, 24 Jan 2023 08:54:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233284AbjAXIyb (ORCPT ); Tue, 24 Jan 2023 03:54:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231629AbjAXIy3 (ORCPT ); Tue, 24 Jan 2023 03:54:29 -0500 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38B5D38039 for ; Tue, 24 Jan 2023 00:54:27 -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-122-9RJp0W1SNBKAvoVKfHTvLQ-1; Tue, 24 Jan 2023 08:54:25 +0000 X-MC-Unique: 9RJp0W1SNBKAvoVKfHTvLQ-1 Received: from AcuMS.Aculab.com (10.202.163.6) by AcuMS.aculab.com (10.202.163.6) with Microsoft SMTP Server (TLS) id 15.0.1497.45; Tue, 24 Jan 2023 08:54:25 +0000 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.045; Tue, 24 Jan 2023 08:54:25 +0000 From: David Laight To: 'Mateusz Guzik' , Linus Torvalds CC: Al Viro , Uros Bizjak , "Andrew Morton" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] lib/genalloc: use try_cmpxchg in {set,clear}_bits_ll Thread-Topic: [PATCH] lib/genalloc: use try_cmpxchg in {set,clear}_bits_ll Thread-Index: AQHZK4esPiXIxoxXL0qMusgAkdAn7q6lrzIwgAcKieqAAI8WsA== Date: Tue, 24 Jan 2023 08:54:24 +0000 Message-ID: <7d506ede564d425db116ff646f267f4f@AcuMS.aculab.com> References: <20230118150703.4024-1-ubizjak@gmail.com> <20230118131825.c6daea81ea1e2dc6aa014f38@linux-foundation.org> <913c01d41f824fa8b3400384437fa0d8@AcuMS.aculab.com> In-Reply-To: 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 RnJvbTogTWF0ZXVzeiBHdXppaw0KPiBTZW50OiAyNCBKYW51YXJ5IDIwMjMgMDA6MTENCi4uLg0K PiBTbyBpZiB5b3Ugc3RyYWNlIHNvbWV0aGluZyBsaWtlIGdjYyBjb21waWxpbmcgc3R1ZmYgeW91 IHdpbGwgZmluZDoNCj4gLSBzb21lIGFjY2VzcyBjYWxscyBvbiBzaGFyZWQgZGlycywgZm9yIGV4 YW1wbGU6DQo+IDc4NTMzIGFjY2VzcygiL3Vzci9saWIvZ2NjL3g4Nl82NC1saW51eC1nbnUvMTEv IiwgWF9PSykgPSAwDQo+IDc4NTMzIGFjY2VzcygiL3Vzci9saWIvZ2NjL3g4Nl82NC1saW51eC1n bnUvMTEvIiwgWF9PSykgPSAwDQo+IDc4NTMzIGFjY2VzcygiL3Vzci9saWIvZ2NjL3g4Nl82NC1s aW51eC1nbnUvMTEvIiwgWF9PSykgPSAwDQoNCkFyZSB0aGV5IGJhY2sgdG8gYmFjaz8gV2hpY2gg aXMganVzdCBzdHVwaWQuDQpPbmNlIHBlciBpbnZvY2F0aW9uIG9mIGdjYyB3b3VsZCBiZSBub2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