[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <aNanBZ9VbIO2CO9x@gmail.com>
Date: Fri, 26 Sep 2025 16:45:25 +0200
From: Ingo Molnar <mingo@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>, Will Deacon <will@...nel.org>,
Waiman Long <longman@...hat.com>, Boqun Feng <boqun.feng@...il.com>,
Borislav Petkov <bp@...en8.de>, Uros Bizjak <ubizjak@...il.com>,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Gary Guo <gary@...yguo.net>
Subject: [GIT PULL] locking changes for v6.18
Linus,
Please pull the latest locking/core Git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-core-2025-09-26
# HEAD: 17d9f8eaa87d40a2ff66598875a43363e37a909b MAINTAINERS: update atomic infrastructure entry to include Rust
Locking updates for v6.16 mostly include Rust runtime enhancements:
- Add initial support for generic LKMM atomic variables in Rust. (Boqun Feng)
- Add the wrapper for `refcount_t` in Rust. (Gary Guo)
- Make `data` in `Lock` structurally pinned. (Daniel Almeida)
- Add a new reviewer, Gary Guo.
Thanks,
Ingo
------------------>
Boqun Feng (9):
rust: Introduce atomic API helpers
rust: sync: Add basic atomic operation mapping framework
rust: sync: atomic: Add ordering annotation types
rust: sync: atomic: Add generic atomics
rust: sync: atomic: Add atomic {cmp,}xchg operations
rust: sync: atomic: Add the framework of arithmetic operations
rust: sync: atomic: Add Atomic<u{32,64}>
rust: sync: atomic: Add Atomic<{usize,isize}>
rust: sync: Add memory barriers
Gary Guo (5):
rust: implement `kernel::sync::Refcount`
rust: make `Arc::into_unique_or_drop` associated function
rust: convert `Arc` to use `Refcount`
rust: block: convert `block::mq` to use `Refcount`
MAINTAINERS: update atomic infrastructure entry to include Rust
MAINTAINERS | 6 +-
rust/helpers/atomic.c | 1040 +++++++++++++++++++++++++++++
rust/helpers/barrier.c | 18 +
rust/helpers/helpers.c | 2 +
rust/helpers/refcount.c | 10 +
rust/kernel/block/mq/operations.rs | 7 +-
rust/kernel/block/mq/request.rs | 73 +-
rust/kernel/sync.rs | 4 +
rust/kernel/sync/arc.rs | 55 +-
rust/kernel/sync/atomic.rs | 551 +++++++++++++++
rust/kernel/sync/atomic/internal.rs | 265 ++++++++
rust/kernel/sync/atomic/ordering.rs | 104 +++
rust/kernel/sync/atomic/predefine.rs | 169 +++++
rust/kernel/sync/barrier.rs | 61 ++
rust/kernel/sync/refcount.rs | 113 ++++
scripts/atomic/gen-atomics.sh | 1 +
scripts/atomic/gen-rust-atomic-helpers.sh | 67 ++
17 files changed, 2454 insertions(+), 92 deletions(-)
create mode 100644 rust/helpers/atomic.c
create mode 100644 rust/helpers/barrier.c
create mode 100644 rust/kernel/sync/atomic.rs
create mode 100644 rust/kernel/sync/atomic/internal.rs
create mode 100644 rust/kernel/sync/atomic/ordering.rs
create mode 100644 rust/kernel/sync/atomic/predefine.rs
create mode 100644 rust/kernel/sync/barrier.rs
create mode 100644 rust/kernel/sync/refcount.rs
create mode 100755 scripts/atomic/gen-rust-atomic-helpers.sh
Powered by blists - more mailing lists