public inbox for rust-for-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/3] rust: Switch to kernel::sync atomic primitives
@ 2025-12-30  9:37 FUJITA Tomonori
  2025-12-30  9:37 ` [PATCH v1 1/3] rust: revocable: " FUJITA Tomonori
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: FUJITA Tomonori @ 2025-12-30  9:37 UTC (permalink / raw)
  To: aliceryhl, arve, brauner, cmllamas, gregkh, ojeda, tkjos,
	boqun.feng
  Cc: a.hindborg, bjorn3_gh, dakr, gary, lossin, tmgross,
	rust-for-linux

Convert uses of core::sync::atomic to Rust LKMM atomics.

Each patch can be applied independently, but all of them depend on the
atomic bool series.

https://lore.kernel.org/all/20251230045028.1773445-1-fujita.tomonori@gmail.com/


FUJITA Tomonori (3):
  rust: revocable: Switch to kernel::sync atomic primitives
  rust: list: Switch to kernel::sync atomic primitives
  rust_binder: Switch to kernel::sync atomic primitives

 drivers/android/binder/rust_binder_main.rs | 20 ++++++++----------
 drivers/android/binder/stats.rs            |  8 ++++----
 drivers/android/binder/thread.rs           | 24 ++++++++++------------
 drivers/android/binder/transaction.rs      | 16 +++++++--------
 rust/kernel/list/arc.rs                    | 14 ++++++-------
 rust/kernel/revocable.rs                   | 24 ++++++++++++++--------
 6 files changed, 54 insertions(+), 52 deletions(-)


base-commit: d4cd35bacb06d53acf39ff248ea2b3eef50573f6
-- 
2.43.0


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-01-05 13:34 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-30  9:37 [PATCH v1 0/3] rust: Switch to kernel::sync atomic primitives FUJITA Tomonori
2025-12-30  9:37 ` [PATCH v1 1/3] rust: revocable: " FUJITA Tomonori
2025-12-30 23:29   ` Boqun Feng
2025-12-31  9:35     ` FUJITA Tomonori
2025-12-31 23:41       ` Boqun Feng
2026-01-01  4:34       ` Gary Guo
2025-12-31 10:12     ` Alice Ryhl
2025-12-31 10:33       ` FUJITA Tomonori
2025-12-31 10:54   ` Alice Ryhl
2025-12-30  9:37 ` [PATCH v1 2/3] rust: list: " FUJITA Tomonori
2025-12-31 10:53   ` Alice Ryhl
2025-12-30  9:37 ` [PATCH v1 3/3] rust_binder: " FUJITA Tomonori
2025-12-31 10:52   ` Alice Ryhl
2026-01-05 13:34 ` [PATCH v1 0/3] rust: " Boqun Feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox