[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z0djggljFnGqRS9D@tardis.local>
Date: Wed, 27 Nov 2024 10:22:58 -0800
From: Boqun Feng <boqun.feng@...il.com>
To: Lyude Paul <lyude@...hat.com>
Cc: rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <benno.lossin@...ton.me>,
Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>
Subject: Re: [PATCH 0/2] rust: sync: Add Guard related type-aliases
On Wed, Nov 20, 2024 at 05:26:27PM -0500, Lyude Paul wrote:
> This is something I originally meant to do when adding Lock::from_raw
> and exposing Guard::new - introduce type aliases for the various types
> of Guard that we can run into.
>
> Lyude Paul (2):
> rust: sync: Add MutexGuard type alias
> rust: sync: Add SpinLockGuard type alias
>
Queued for future tests and reviews, thanks!
Regards,
Boqun
> rust/kernel/sync.rs | 4 ++--
> rust/kernel/sync/lock/mutex.rs | 8 ++++++++
> rust/kernel/sync/lock/spinlock.rs | 8 ++++++++
> 3 files changed, 18 insertions(+), 2 deletions(-)
>
>
> base-commit: b2603f8ac8217bc59f5c7f248ac248423b9b99cb
> prerequisite-patch-id: 8c65a39abe47832d0c98c9c266b4b9348fb3526a
> prerequisite-patch-id: 211faf8533feec77907b0a1b9b2f788e72c5ac58
> --
> 2.47.0
>
Powered by blists - more mailing lists