rust: Add Lock::from_raw() and expose Guard::new()
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 · linked by author and title
- v4 Latest2 patches 3 repliesApplied
- v32 patches 5 repliesSuperseded
- v21 patch 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 2 replies | Superseded |
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | rust: sync: Add Lock::from_raw() for Lock<(), B>rust/ | +23 | 2 replies | |
| 2/2 | rust: sync: Make Guard::new() publicrust/ | +1 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Alice Ryhl | Filipe Xavier |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/2] rust: Add Lock::from_raw() and expose Guard::new()
This is the third version of a small patch series to introduce interfaces for working with locks that we've acquired from raw C pointers, something that is quite useful for bindings like the rust bindings - where there's a number of interfaces protected by BFLs, or which require the implementation of callbacks that are known to occur under lock.
Lyude Paul (2):
rust: sync: Add Lock::from_raw() for Lock<(), B>
rust: sync: Make Guard::new() public
rust/kernel/sync/lock.rs | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-)
base-commit: b2603f8ac8217bc59f5c7f248ac248423b9b99cb
Signature · 1 line
2.47.0