Skip to content

timekeeping: Decouple xtime_lock from xtime seqcount

Thomas Gleixner lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7timekeeping: Split xtime lock into lock and seqcountkernel/time/jiffies.c kernel/time/ntp.c kernel/time/tick-common.c +3 more+91 -610 replies
2/7ntp: Shorten xtime seqcount sectionskernel/time/ntp.c kernel/time/timekeeping.c+2 -80 replies
3/7timekeeping: Make seqcount sections smallerkernel/time/tick-common.c kernel/time/tick-sched.c kernel/time/timekeeping.c+2 -80 replies
4/7timekeeper: Reorder so the hot data is togetherkernel/time/timekeeping.c+2 -20 replies
5/7timekeeping: Move common updates to a functionkernel/time/timekeeping.c+14 -190 replies
6/7timekeeping: Add extra timekeeper/xtime structs for calculationkernel/time/timekeeping.c+55 -400 replies
7/7timekeeping: Reduce seqcount section to update timekeeper/xtimekernel/time/timekeeping.c+7 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/7] timekeeping: Decouple xtime_lock from xtime seqcount

xtime_lock which serializes the update of time relevant data structures is held over a large code pathes which results in extended seqlock contention times on the reader side. This series decouples the lock from the seqcount and reduces the seqcount protected sections to those which actually update the reader visible data.

Thanks,

tglx

---
 jiffies.c       |    4 
 ntp.c           |   16 +--
 tick-common.c   |    8 -
 tick-internal.h |    3 
 tick-sched.c    |   12 +-
 timekeeping.c   |  237 +++++++++++++++++++++++++++++++-------------------------
 6 files changed, 157 insertions(+), 123 deletions(-)