rust: sync: Add Guard related type-aliases
Status from this message: The following commit has been merged into the locking/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | rust: sync: Add MutexGuard type aliasrust/ rust/ | +9 | 1 reply | |
| 2/2 | rust: sync: Add SpinLockGuard type aliasrust/ rust/ | +9 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Alice Ryhl |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] rust: sync: Add Guard related type-aliases
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
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
Signature · 1 line
2.47.0