Skip to content

seqlock: introduce scoped_seqlock_read() and scoped_seqlock_read_irqsave()

Oleg Nesterov lkml 2 versions – Applied

Status from this message: The following commit has been merged into the locking/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 25 repliesApplied
  2. v14 patches 5 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4seqlock: introduce scoped_seqlock_read() and scoped_seqlock_read_irqsave()include/linux/seqlock.h+64 -022 replies
2/4seqlock: change thread_group_cputime() to use scoped_seqlock_read_irqsave()kernel/sched/cputime.c+3 -120 replies
3/4seqlock: change do_task_stat() to use scoped_seqlock_read_irqsave()fs/proc/array.c+2 -70 replies
4/4seqlock: change do_io_accounting() to use scoped_seqlock_read_irqsave()fs/proc/base.c+2 -80 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchOleg Nesterov
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)