[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aS1XcYC3mxhooU7s@gmail.com>
Date: Mon, 1 Dec 2025 09:53:05 +0100
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>, Oleg Nesterov <oleg@...hat.com>
Subject: [GIT PULL] locking updates for v6.19
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-12-01
# HEAD: 43decb6b628eb033a1b6188e5018773c0d38be1d locking/local_lock: Fix all kernel-doc warnings
#
# MERGE NOTE: Had to rebase the final 4 commits due to a SOB chain fail.
#
Locking updates for v6.19:
Mutexes:
- Redo __mutex_init() to reduce generated code size
(Sebastian Andrzej Siewior)
Seqlocks:
- Introduce scoped_seqlock_read() (Peter Zijlstra)
- Change thread_group_cputime() to use scoped_seqlock_read()
(Oleg Nesterov)
- Change do_task_stat() to use scoped_seqlock_read()
(Oleg Nesterov)
- Change do_io_accounting() to use scoped_seqlock_read()
(Oleg Nesterov)
- Fix the incorrect documentation of read_seqbegin_or_lock() /
need_seqretry() (Oleg Nesterov)
- Allow KASAN to fail optimizing (Peter Zijlstra)
Local lock updates:
- Fix all kernel-doc warnings (Randy Dunlap)
- Add the <linux/local_lock*.h> headers to MAINTAINERS
(Sebastian Andrzej Siewior)
- Reduce the risk of shadowing via s/l/__l/ and s/tl/__tl/
(Vincent Mailhol)
Lock debugging:
- spinlock/debug: Fix data-race in do_raw_write_lock
(Alexander Sverdlin)
Atomic primitives infrastructure:
- atomic: Skip alignment check for try_cmpxchg() old arg
(Arnd Bergmann)
Rust runtime integration:
- sync: atomic: Enable generated Atomic<T> usage (Boqun Feng)
- sync: atomic: Implement Debug for Atomic<Debug> (Boqun Feng)
- debugfs: Remove Rust native atomics and replace them with
Linux versions (Boqun Feng)
- debugfs: Implement Reader for Mutex<T> only when T is Unpin
(Boqun Feng)
- lock: guard: Add T: Unpin bound to DerefMut (Daniel Almeida)
- lock: Pin the inner data (Daniel Almeida)
- lock: Add a Pin<&mut T> accessor (Daniel Almeida)
Thanks,
Ingo
------------------>
Alexander Sverdlin (1):
locking/spinlock/debug: Fix data-race in do_raw_write_lock
Arnd Bergmann (1):
atomic: Skip alignment check for try_cmpxchg() old arg
Boqun Feng (4):
rust: debugfs: Implement Reader for Mutex<T> only when T is Unpin
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
Daniel Almeida (3):
rust: lock: guard: Add T: Unpin bound to DerefMut
rust: lock: Pin the inner data
rust: lock: Add a Pin<&mut T> accessor
Oleg Nesterov (4):
documentation: seqlock: fix the wrong documentation of read_seqbegin_or_lock/need_seqretry
seqlock: Change thread_group_cputime() to use scoped_seqlock_read()
seqlock: Change do_task_stat() to use scoped_seqlock_read()
seqlock: Change do_io_accounting() to use scoped_seqlock_read()
Peter Zijlstra (2):
seqlock: Introduce scoped_seqlock_read()
seqlock: Allow KASAN to fail optimizing
Randy Dunlap (1):
locking/local_lock: Fix all kernel-doc warnings
Sebastian Andrzej Siewior (2):
locking/mutex: Redo __mutex_init() to reduce generated code size
locking/local_lock: Add the <linux/local_lock*.h> headers to MAINTAINERS
Vincent Mailhol (1):
locking/local_lock: s/l/__l/ and s/tl/__tl/ to reduce the risk of shadowing
Documentation/locking/seqlock.rst | 9 ++-
MAINTAINERS | 1 +
fs/proc/array.c | 9 +--
fs/proc/base.c | 13 +---
include/linux/atomic/atomic-instrumented.h | 26 +++----
include/linux/local_lock.h | 4 +-
include/linux/local_lock_internal.h | 62 ++++++++--------
include/linux/mutex.h | 45 +++++++++---
include/linux/seqlock.h | 114 +++++++++++++++++++++++++++++
kernel/locking/mutex-debug.c | 10 +--
kernel/locking/mutex.c | 28 +++++--
kernel/locking/mutex.h | 5 +-
kernel/locking/rtmutex_api.c | 19 ++++-
kernel/locking/spinlock_debug.c | 4 +-
kernel/sched/cputime.c | 20 ++---
rust/kernel/debugfs/traits.rs | 55 +++++---------
rust/kernel/sync/atomic.rs | 12 ++-
rust/kernel/sync/lock.rs | 41 ++++++++++-
rust/kernel/sync/lock/global.rs | 5 +-
samples/rust/rust_debugfs.rs | 12 ++-
samples/rust/rust_debugfs_scoped.rs | 6 +-
scripts/atomic/gen-atomic-instrumented.sh | 11 ++-
22 files changed, 339 insertions(+), 172 deletions(-)
Powered by blists - more mailing lists