[RFC 0/5] locking: Start watching Rust locking primitives

From: Boqun Feng
Date: Thu Nov 28 2024 - 00:40:39 EST


Hi Ingo, Peter & Miguel,

I want to propose two things in this RFC:

* Add Rust locking related files into the watch of LOCKING PRIMITIVES
maintainers.

* I will handle most of the Rust locking patches as what I already do
for lockdep patches (i.e sending a PR to Peter at around -rc4, so he
could put it in for the next merge window)

Patch #1 is the related changes in MAINTAINERS and the rest is part of
the patches what would make into a future PR if the above proposals
make sense to you.

Let me know how you guys think about this, thanks!

Regards,
Boqun

Boqun Feng (1):
locking: MAINTAINERS: Start watching Rust locking primitives

Lyude Paul (4):
rust: sync: Add Lock::from_raw() for Lock<(), B>
rust: sync: Make Guard::new() public
rust: sync: Add MutexGuard type alias
rust: sync: Add SpinLockGuard type alias

MAINTAINERS | 7 ++++++-
rust/kernel/sync.rs | 4 ++--
rust/kernel/sync/lock.rs | 25 ++++++++++++++++++++++++-
rust/kernel/sync/lock/mutex.rs | 8 ++++++++
rust/kernel/sync/lock/spinlock.rs | 8 ++++++++
5 files changed, 48 insertions(+), 4 deletions(-)

--
2.39.5 (Apple Git-154)