[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251022035324.70785-1-boqun.feng@gmail.com>
Date: Tue, 21 Oct 2025 23:53:21 -0400
From: Boqun Feng <boqun.feng@...il.com>
To: rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Danilo Krummrich <dakr@...nel.org>,
Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>,
Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <lossin@...nel.org>,
Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>,
Trevor Gross <tmgross@...ch.edu>,
Will Deacon <will@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Mark Rutland <mark.rutland@....com>,
Matthew Maurer <mmaurer@...gle.com>
Subject: [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(-)
--
2.51.0
Powered by blists - more mailing lists