RFC isolation: 1Hz residual tick offloading
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | sched: Move tick code to a separate filekernel/ kernel/ kernel/ +1 more | +184 | 2 replies | |
| 2/5 | sched: Rename init_rq_hrtick to hrtick_rq_initkernel/ kernel/ kernel/ | +4 | 0 replies | |
| 3/5 | sched/isolation: Add scheduler tick offloading interfaceinclude/ kernel/ | +8 | 0 replies | |
| 4/5 | sched/isolation: Residual 1Hz scheduler tick offloadkernel/ kernel/ kernel/ +1 more | +88 | 11 replies | |
| 5/5 | sched/isolation: Document "nohz_offload" flagDocumentation/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/5] isolation: 1Hz residual tick offloading
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(-)