[RFC PATCH 0/5] isolation: 1Hz residual tick offloading

From: Frederic Weisbecker
Date: Mon Dec 18 2017 - 22:24:11 EST


Finally! It has been years since I had to do that but I kept knocking
against prerequisites, mostly about making scheduler_tick() resilient
against the absence of ticks. Now it seems that current->sched_class->task_tick()
is the last piece of it.

This patchset adds a flag to the isolcpus boot option to offload the
residual 1Hz tick.

For quick testing, say on CPUs 1-7:

"isolcpus=nohz_offload,domain,1-7"

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
timers/0z

HEAD: a9366794579a4ff71ec3546b9983536a669fbfb9

Thanks,
Frederic
---

Frederic Weisbecker (5):
sched: Move tick code to a separate file
sched: Rename init_rq_hrtick to hrtick_rq_init
sched/isolation: Add scheduler tick offloading interface
sched/isolation: Residual 1Hz scheduler tick offload
sched/isolation: Document "nohz_offload" flag


Documentation/admin-guide/kernel-parameters.txt | 7 +-
include/linux/sched/isolation.h | 3 +-
kernel/sched/Makefile | 2 +-
kernel/sched/core.c | 186 +-----------------
kernel/sched/isolation.c | 10 +
kernel/sched/sched.h | 13 +-
kernel/sched/tick.c | 250 ++++++++++++++++++++++++
7 files changed, 284 insertions(+), 187 deletions(-)