SpinLockIrq for rust
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v19 Latest5 patches 1 replyIn review
- v185 patches 5 repliesSuperseded
- v1716 patches 29 repliesSuperseded
Earlier versions · 9
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v16 | 17 patches | 13 replies | Superseded | |
| v15 | 16 patches | 0 replies | Superseded | |
| v14 | 16 patches | 8 replies | Superseded | |
| v13 | 17 patches | 28 replies | Superseded | |
| v12 | 15 patches | 0 replies | Superseded | |
| v11 | 14 patches | 1 reply | Superseded | |
| v10 RFC posting 2/2 | 14 patches | 20 replies | Superseded | |
| v10 RFC posting 1/2 | 0 of 14 patches | 1 reply | Superseded | |
| v9 | 9 patches | 18 replies | Superseded |
Patches in v19 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | rust: Introduce interrupt modulerust/ rust/ rust/ +2 more | +114 | 1 reply | |
| 2/5 | rust: helper: Add spin_{un,}lock_irq_{enable,disable}() helpersrust/ | +15 | 0 replies | |
| 3/5 | rust: sync: use super::* in spinlock.rsrust/ | +4 | 0 replies | |
| 4/5 | rust: sync: Add SpinLockIrqrust/ rust/ rust/ | +254 | 0 replies | |
| 5/5 | rust: sync: Introduce SpinLockIrq::lock_with() and friendsrust/ | +80 | 0 replies |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Benno Lossin | Andreas Hindborg | Gary Guo |
|---|---|---|---|
| 1/5 | R-b | R-b | R-b |
| 2/5 | R-b | R-b | |
| 3/5 | |||
| 4/5 | R-b | ||
| 5/5 | R-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 3 reviewers.
Cover letter [PATCH v19 0/5] SpinLockIrq for rust
This is the latest patch series for adding rust bindings for controlling local processor interrupts, adding support for spinlocks in rust that are acquired with local processor interrupts disabled, and implementing local interrupt controls through refcounting in the kernel.
The previous version of this patch series can be found here:
https://lore.kernel.org/all/[email protected]/
This patch series applies on top of boqun's rust-sync branch:
https://git.kernel.org/pub/scm/linux/kernel/git/boqun/linux.git/?h=rust-sync
Now that we've gotten the C-side of these changes in, this patch series is now exclusively concerned with the rust side of these changes. For more information on how we came to the design for the C side of the API, see the explanation in the previous version of the patch series.
Boqun Feng (1):
rust: helper: Add spin_{un,}lock_irq_{enable,disable}() helpers
Lyude Paul (4):
rust: Introduce interrupt module
rust: sync: use super::* in spinlock.rs
rust: sync: Add SpinLockIrq
rust: sync: Introduce SpinLockIrq::lock_with() and friends
FULL CHANGELOG FOR EACH PATCH AVAILABLE IN THE PATCH UNDER THE CUT LINE
rust/helpers/helpers.c | 1 + rust/helpers/interrupt.c | 18 ++ rust/helpers/spinlock.c | 15 ++ rust/helpers/sync.c | 5 + rust/kernel/interrupt.rs | 89 ++++++++ rust/kernel/lib.rs | 1 + rust/kernel/sync.rs | 9 +- rust/kernel/sync/lock/global.rs | 3 + rust/kernel/sync/lock/spinlock.rs | 331 +++++++++++++++++++++++++++++- 9 files changed, 466 insertions(+), 6 deletions(-) create mode 100644 rust/helpers/interrupt.c create mode 100644 rust/kernel/interrupt.rs
base-commit: 4a653dbaf6f3a8c950a72e4b78e93576e1916381
Signature · 1 line
2.53.0