tick/nohz: Tick dependency quick check + cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 22 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | jiffies: Remove HZ > USEC_PER_SEC special casekernel/ | +8 | 1 reply | |
| 2/8 | apm32: Fix cputime == jiffies assumptionarch/ | +1 | 1 reply | |
| 3/8 | alpha: Fix jiffies based cputime assumptionarch/ | +9 | 1 reply | |
| 4/8 | nohz: Remove idle task special casekernel/ | +3 | 3 replies | |
| 5/8 | nohz: Restart the tick from irq exitinclude/ kernel/ | +10 | 10 replies | |
| 6/8 | nohz: Move tick_nohz_restart_sched_tick() above its userskernel/ | +16 | 1 reply | |
| 7/8 | nohz: Evaluate tick dependency once on context switchkernel/ kernel/ | +47 | 5 replies | |
| 8/8 | nohz: Remove useless argument on tick_nohz_task_switch()include/ kernel/ kernel/ | +6 | 0 replies |
Reviews trailers per patch
6 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Rik van Riel |
|---|---|
| 1/8 | R-b |
| 2/8 | R-b |
| 3/8 | R-b |
| 4/8 | R-b |
| 5/8 | R-b |
| 6/8 | R-b |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] tick/nohz: Tick dependency quick check + cleanups
Thomas suggested a few month ago to make the tick dependency check more synchronous. Instead of checking asynchronously from each interrupt if the tick can be stopped, every subsystem that may have a tick dependency should set itself a flag specifying the state of that dependency. This way we can verify if we can stop the tick with a single lightweight mask check.
This patchset introduces that. There is still room for optimizations.
Also in a further series I would like to piggyback on the scheduler interrupt to restart the tick in case of remote wakeups. The tick restart from Irq exit prepares for that.
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
timers/core-v2
HEAD: e5470c6cd483edb77d6c8398b3f1479aa0eba215
Thanks,
Frederic
---
Frederic Weisbecker (8):
jiffies: Remove HZ > USEC_PER_SEC special case
apm32: Fix cputime == jiffies assumption
alpha: Fix jiffies based cputime assumption
nohz: Remove idle task special case
nohz: Restart the tick from irq exit
nohz: Move tick_nohz_restart_sched_tick() above its users
nohz: Evaluate tick dependency once on context switch
nohz: Remove useless argument on tick_nohz_task_switch()
arch/alpha/kernel/osf_sys.c | 13 +++-- arch/x86/kernel/apm_32.c | 2 +- include/linux/tick.h | 16 ++---- kernel/sched/core.c | 2 +- kernel/time/tick-sched.c | 127 ++++++++++++++++++++++---------------------- kernel/time/tick-sched.h | 6 +++ kernel/time/time.c | 14 ++--- 7 files changed, 93 insertions(+), 87 deletions(-)