Skip to content

tick: Cleanups and reduce jiffies_seq held times

Thomas Gleixner lkml 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7tick/broadcast: Serialize access to tick_next_periodkernel/time/tick-broadcast.c+20 -30 replies
2/7tick: Document protections for tick related datakernel/time/tick-common.c kernel/time/tick-sched.c+6 -20 replies
3/7tick/sched: Use tick_next_period for lockless quick checkkernel/time/tick-sched.c+33 -130 replies
4/7tick/sched: Reduce seqcount held scope in tick_do_update_jiffies64()kernel/time/tick-sched.c+25 -280 replies
5/7tick/sched: Optimize tick_do_update_jiffies64() furtherkernel/time/tick-sched.c+6 -50 replies
6/7tick/sched: Release seqcount before invoking calc_load_global()kernel/time/tick-sched.c+11 -10 replies
7/7tick: Get rid of tick_periodkernel/time/tick-broadcast.c kernel/time/tick-common.c kernel/time/tick-internal.h +1 more+15 -180 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] tick: Cleanups and reduce jiffies_seq held times

Yunfeng proposed a change to tick_do_update_jiffies64() to reduce the contention on jiffies_seq sequence counter:

https://lore.kernel.org/r/[email protected]

This made me look deeper and there are lots of other things to optimize, but also things to document which are completely undocumented today.

The lot is based on

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/core

and also available via git from:

git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git tick

Thanks,

tglx