Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2091436rwl; Thu, 30 Mar 2023 06:03:23 -0700 (PDT) X-Google-Smtp-Source: AKy350YCRTo6AmSYwyGvDQFpzESI2z2z/XYt35vMwf+Fh3SkqfQL81ZOdpLDgzW1ciR7v7Y406dI X-Received: by 2002:a05:6a00:2d0b:b0:62d:b0ab:a05d with SMTP id fa11-20020a056a002d0b00b0062db0aba05dmr2287570pfb.0.1680181403420; Thu, 30 Mar 2023 06:03:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680181403; cv=none; d=google.com; s=arc-20160816; b=x+Dddv23aaY3Q7ZhJtXRtGLl1fA5HEjUz4bjN493MH4TlMOm79ruXnpitf5n/bwwUS Yd/hXSQCgrTqahBum8z9NzSwjyiOmLU/APpqS1R9GSqciFO0LuuSmkZgsHgWY+WKbVC7 2AkMQMtNl4R6mXC4ciW4kY+5KgM7KZqMjZKzyVpYHQG5KPU8wkRaf+1AYAsHCAENLeoa mRGM/1VxlOJRHYA7EvVmoO+czqH22bY+vw16jfJ7n3AtEe+AN7q7MD1+2fjZZ5EPLY6f 9KGyuaFMMbbQYaC9q69Q7ZiK9jXDqT23xJshdkMdxGb+gsHJ1jPEgnq4PAT1b39mZpb/ 6CoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=iZumIeXl4HeZrBWMKcDLhreN5huMTw07n6pSDNiiTBg=; b=oAYO2xAtc2p7m1QBIAM9dnGFdc3xGDOBR9n3cnVD9futQjFrf6478KLRHCdawed2KD jJRDwszXvkknRcl2vvQGUeyR3rynILX99KaC393FxEu7lluvrxPednSliUCreNfHvwq8 SzofhKPiAINKGfh/WOTx/BZDH+WgIawgggTOTNdA759Z6Gz/YKvBsdgoYxT9pqYWeK0J dHvIxT69UGl8VHpwQcEqEcZk2BwXSVQjcYPqEUHH9STn2pX3V1aB2yA0GXIIvnqGkiDC EEhzTT2WbZ3OOpXGUhxGHDlHbC9s3MW2xXjf8xhJozyLI8DoYIAxpKF6Qzxvo1i5wf+B iN0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=ANc5+coF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 69-20020a630148000000b0050bf0f1b79bsi35881488pgb.629.2023.03.30.06.02.59; Thu, 30 Mar 2023 06:03:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=ANc5+coF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231755AbjC3NBV (ORCPT + 99 others); Thu, 30 Mar 2023 09:01:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229694AbjC3NBT (ORCPT ); Thu, 30 Mar 2023 09:01:19 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B55AA260; Thu, 30 Mar 2023 06:01:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=iZumIeXl4HeZrBWMKcDLhreN5huMTw07n6pSDNiiTBg=; b=ANc5+coFvAoz53qhvpUAreVboa PsfomhUa8aNd4agC0fRueuOdESvYrkBYzMtJRLaNKI2DSNdhyqjbyXzz2n+o+KmzNtyQUud/JPRcF 1nDjybv1exWiIepldSL6sEHax3/Pox6daZlQdCFkmM23nG2dLjxwl+kBMNcVm1QRSU/IOkz0W1P0u vlbDS3BpmtzIL8GmOLChTIHTQ5S125tD1kzQCU4tAtHskD3ujvuQvAjbQK9L+Vd2c7kzhWI7hna81 W1CSXG+ijYNiwx4qoQw0V31iqfNJ+cuZc3+crBBs/8EJpNFt7Xuh0coh19ij0xw+BQ6YCSCC0JvBF gHQTb4RA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1phrts-00AQL8-Rd; Thu, 30 Mar 2023 13:01:09 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 63684300134; Thu, 30 Mar 2023 15:01:08 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 4AA8F20134244; Thu, 30 Mar 2023 15:01:08 +0200 (CEST) Date: Thu, 30 Mar 2023 15:01:08 +0200 From: Peter Zijlstra To: Wedson Almeida Filho Cc: rust-for-linux@vger.kernel.org, Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , linux-kernel@vger.kernel.org, Wedson Almeida Filho , Ingo Molnar , Will Deacon , Waiman Long Subject: Re: [PATCH 03/13] rust: lock: introduce `Mutex` Message-ID: <20230330130108.GE124812@hirez.programming.kicks-ass.net> References: <20230330043954.562237-1-wedsonaf@gmail.com> <20230330043954.562237-3-wedsonaf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230330043954.562237-3-wedsonaf@gmail.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 30, 2023 at 01:39:44AM -0300, Wedson Almeida Filho wrote: > From: Wedson Almeida Filho > > This is the `struct mutex` lock backend and allows Rust code to use the > kernel mutex idiomatically. What, if anything, are the plans to support the various lockdep annotations? Idem for the spinlock thing in the other patch I suppose.