[PATCH v2 0/4] seqlock: introduce scoped_seqlock_read() and scoped_seqlock_read_irqsave()

From: Oleg Nesterov
Date: Wed Oct 08 2025 - 08:32:17 EST


Only 1/4 was changed according to comments from Linus and Waiman,
but let me resend 2-4 as well.

Oleg.

fs/proc/array.c | 9 ++-----
fs/proc/base.c | 10 ++------
include/linux/seqlock.h | 64 +++++++++++++++++++++++++++++++++++++++++++++++++
kernel/sched/cputime.c | 15 +++---------
4 files changed, 71 insertions(+), 27 deletions(-)