Skip to content

tick/nohz updates v2

Frederic Weisbecker lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8tick/nohz: Evaluate the CPU expression after the static keyinclude/linux/tick.h+11 -71 reply
2/8tick/nohz: Conditionally restart tick on idle exitkernel/time/tick-sched.c+29 -170 replies
3/8tick/nohz: Remove superflous check for CONFIG_VIRT_CPU_ACCOUNTING_NATIVEkernel/time/tick-sched.c+0 -21 reply
4/8tick/nohz: Update idle_exittime on actual idle exitkernel/time/tick-sched.c+8 -60 replies
5/8tick/nohz: Update nohz_full Kconfig helpkernel/time/Kconfig+6 -50 replies
6/8tick/nohz: Only wakeup a single target cpu when kicking a taskkernel/time/tick-sched.c+27 -134 replies
7/8tick/nohz: Change signal tick dependency to wakeup CPUs of member tasksinclude/linux/tick.h kernel/time/posix-cpu-timers.c kernel/time/tick-sched.c+19 -80 replies
8/8tick/nohz: Kick only _queued_ task whose tick dependency is updatedinclude/linux/sched.h kernel/sched/core.c kernel/time/tick-sched.c+24 -22 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPeter Zijlstra
SeriesA-b
1/8Not-Yet-Signed-off-by
2/8
3/8
4/8
5/8
6/8
7/8
8/8

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

Read the v1 thread

Cover letter [PATCH 0/8] tick/nohz updates v2

This set brings various interrupts reducing while running in nohz_full:

* Remove one tick interrupt while waking up from idle to a user task running in nohz_full mode. (thanks Yunfeng Ye).

* Reduce IPIs when running posix cpu timers, only relevant tasks should be interrupted now instead of all tick nohz CPUs (thanks Marcelo)

And a few other cleanups and improvement.

Changes since last take:

- Remove "tick/nohz: Prevent tick_nohz_get_sleep_length() from returning negative value" since the issue has been solve on the cpuidle side.

- Remove "timer: Report ignored local enqueue in nohz mode" and hope that objtool will spot the future offenders.

- Changed "tick/nohz: Add tick_nohz_full_this_cpu()" and provide with "tick/nohz: Evaluate the CPU expression after the static key" (please add your SOB on this one).

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
timers/nohz-v2

HEAD: 4546d43a9938f6c7eec024f005cb240b8b73637b

Thanks,
Frederic
---

Frederic Weisbecker (3):
tick/nohz: Remove superflous check for CONFIG_VIRT_CPU_ACCOUNTING_NATIVE tick/nohz: Update nohz_full Kconfig help
tick/nohz: Only wakeup a single target cpu when kicking a task

Marcelo Tosatti (2):
tick/nohz: Change signal tick dependency to wakeup CPUs of member tasks tick/nohz: Kick only _queued_ task whose tick dependency is updated

Yunfeng Ye (2):
tick/nohz: Conditionally restart tick on idle exit tick/nohz: Update idle_exittime on actual idle exit

Peter Zijlstra (1):
tick/nohz: Evaluate the CPU expression after the static key

 include/linux/sched.h          |   2 +
 include/linux/tick.h           |  26 +++++----
 kernel/sched/core.c            |   5 ++
 kernel/time/Kconfig            |  11 ++--
 kernel/time/posix-cpu-timers.c |   4 +-
 kernel/time/tick-sched.c       | 122 +++++++++++++++++++++++++++++------------
 6 files changed, 117 insertions(+), 53 deletions(-)