[GIT PULL] locking fixes
From: Ingo Molnar
Date: Sat Dec 06 2025 - 06:32:43 EST
Linus,
Please pull the latest locking/urgent Git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-2025-12-06
# HEAD: 90dfeef1cd38dff19f8b3a752d13bfd79f0f7694 seqlock: Cure some more scoped_seqlock() optimization fails
Two fixes related to recent introduction of scoped_seqlock_read():
- Fix compiler build failures when a particular .config and
compiler build options variant doesn't result in the
expected removal of unused, catch-bugs portions of
scoped_seqlock_read() by the inliner at build time,
and cause a linker fail even in correct code.
- Match read-locking order in do_task_stat() and
do_io_accounting(). The inconsistency here was harmless
but unnecessary.
Thanks,
Ingo
------------------>
Ingo Molnar (1):
seqlock, procfs: Match scoped_seqlock_read() critical section vs. RCU ordering in do_task_stat() to do_io_accounting()
Peter Zijlstra (1):
seqlock: Cure some more scoped_seqlock() optimization fails
fs/proc/array.c | 40 ++++++++++++++++++++--------------------
include/linux/seqlock.h | 4 ++--
2 files changed, 22 insertions(+), 22 deletions(-)