Remove the usage of Rust native atomics in debugfs
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/3 | rust: sync: atomic: Make Atomic*Ops pub(crate)rust/ | +2 | 0 replies | |
| 2/3 | rust: sync: atomic: Implement Debug for Atomic<Debug>rust/ | +9 | 0 replies | |
| 3/3 | rust: debugfs: Replace the usage of Rust native atomicsrust/ samples/ samples/ | +25 | 2 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Danilo Krummrich | Greg Kroah-Hartman | Matthew Maurer | David Gow |
|---|---|---|---|---|
| Series | A-b | T-b | ||
| 1/3 | ||||
| 2/3 | ||||
| 3/3 | A-b | 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 4 reviewers.
Cover letter [PATCH 0/3] Remove the usage of Rust native atomics in debugfs
Rust native atomics are not supposed to be used in kernel due to the mismatch of memory model, since we now have the LKMM atomics in Rust, remove the usage of Rust native atomics in debugfs.
(help is appreciated if anyone wants to help in other subsystem)
Boqun Feng (3):
rust: sync: atomic: Make Atomic*Ops pub(crate)
rust: sync: atomic: Implement Debug for Atomic<Debug>
rust: debugfs: Replace the usage of Rust native atomics
rust/kernel/debugfs/traits.rs | 53 +++++++++-------------------- rust/kernel/sync/atomic.rs | 12 ++++++- samples/rust/rust_debugfs.rs | 12 +++---- samples/rust/rust_debugfs_scoped.rs | 6 ++-- 4 files changed, 36 insertions(+), 47 deletions(-)
Signature · 1 line
2.51.0