Skip to content

RFC locking: Start watching Rust locking primitives

Boqun Feng lkml rust-for-linux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5locking: MAINTAINERS: Start watching Rust locking primitivesMAINTAINERS+6 -17 replies
2/5rust: sync: Add Lock::from_raw() for Lock<(), B>rust/kernel/sync/lock.rs+23 -00 replies
3/5rust: sync: Make Guard::new() publicrust/kernel/sync/lock.rs+1 -10 replies
4/5rust: sync: Add MutexGuard type aliasrust/kernel/sync.rs rust/kernel/sync/lock/mutex.rs+9 -10 replies
5/5rust: sync: Add SpinLockGuard type aliasrust/kernel/sync.rs rust/kernel/sync/lock/spinlock.rs+9 -10 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAlice RyhlFilipe XavierMiguel OjedaPeter Zijlstra (Intel)Ingo Molnar
1/5A-b A-b A-b
2/5R-b
3/5R-b R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

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

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(-)
Signature · 1 line
2.39.5 (Apple Git-154)