Skip to content

RFC nohz: Support sysidle (and some more cleanups)

Frederic Weisbecker lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest10 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10irq_work: Introduce void irq workinclude/linux/irq_work.h kernel/irq_work.c+22 -01 reply
2/10nohz: Kick full dynticks timer targets with an empty IPIkernel/sched/core.c+1 -14 replies
3/10rcu: Kick full dynticks CPU on extended grace period with a void IRQkernel/rcu/tree_plugin.h+5 -31 reply
4/10nohz: Appropriate timekeeper kick on sysidle breakkernel/rcu/tree_plugin.h+1 -11 reply
5/10smp: Fast path check on IPI listkernel/smp.c+10 -10 replies
6/10nohz: Define meaningful symbol for nohz full timekeeperkernel/time/tick-internal.h+1 -03 replies
7/10nohz: Enforce timekeeping on CPU 0kernel/time/tick-common.c kernel/time/tick-sched.c+3 -95 replies
8/10nohz: Fetch timekeeping max deferment only for timekeeperkernel/time/tick-sched.c+31 -260 replies
9/10nohz: Switch nohz full timekeeper to dynticks idle on top of sysidle detectionkernel/time/tick-sched.c+4 -21 reply
10/10nohz: Warn on illegal timekeeper switch in nohz fullkernel/time/tick-common.c kernel/time/tick-internal.h kernel/time/tick-sched.c+14 -91 reply

Reviews trailers per patch

6 of 10 patches have a Reviewed-by or Acked-by.

PatchPaul E. McKenney
1/10R-b
2/10
3/10R-b
4/10R-b
5/10
6/10R-b R-b
7/10
8/10
9/10R-b
10/10A-b

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

Read the v1 thread

Cover letter [RFC PATCH 00/10] nohz: Support sysidle (and some more cleanups)

Currently when nohz full is active, the CPU 0 handles timekeeping on behalf of all other CPUs. This prevents it from ever entering in dynticks idle mode.

This patchset uses the RCU sysidle feature to allow that. The CPU 0 can know safely when to sleep and when to wake up, the sysidle code determines that and takes care of races along the way.

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

Thanks,
Frederic
---

Frederic Weisbecker (10):
irq_work: Introduce void irq work
nohz: Kick full dynticks timer targets with an empty IPI
rcu: Kick full dynticks CPU on extended grace period with a void IRQ
nohz: Appropriate timekeeper kick on sysidle break
smp: Fast path check on IPI list
nohz: Define meaningful symbol for nohz full timekeeper
nohz: Enforce timekeeping on CPU 0
nohz: Fetch timekeeping max deferment only for timekeeper
nohz: Switch nohz full timekeeper to dynticks idle on top of sysidle detection
nohz: Warn on illegal timekeeper switch in nohz full

 include/linux/irq_work.h    |  1 +
 kernel/irq_work.c           | 21 +++++++++++++
 kernel/rcu/tree_plugin.h    | 10 ++++---
 kernel/sched/core.c         |  2 +-
 kernel/smp.c                | 11 ++++++-
 kernel/time/tick-common.c   | 11 ++++---
 kernel/time/tick-internal.h |  8 +++++
 kernel/time/tick-sched.c    | 72 ++++++++++++++++++++++-----------------------
 8 files changed, 88 insertions(+), 48 deletions(-)