RFC sched,time: make irq time accounting work for nohz_idle
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | sched,time: count actually elapsed irq & softirq timekernel/ | +34 | 0 replies | |
| 2/5 | nohz,cputime: remove VTIME_GEN vtime irq time codeinclude/ kernel/ | +45 | 0 replies | |
| 3/5 | cputime: allow irq time accounting to be selected as an optioninit/ | +3 | 0 replies | |
| 4/5 | irqtime: add irq type parameter to irqtime_account_irqinclude/ include/ kernel/ +1 more | +27 | 0 replies | |
| 5/5 | irqtime: drop local_irq_save/restore from irqtime_account_irqkernel/ | +43 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH RFC 0/5] sched,time: make irq time accounting work for nohz_idle
This patch series seems to make irq time accounting work with nohz_idle, by having it re-use the same strategy used for steal time accounting in Wanpeng Li's patch.
It applies on top of an earlier version of Wanpeng Li's patch.
It gets rid of some code duplication, but needs a little bit more work. Specifically, selecting CONFIG_IRQ_TIME_ACCOUNTING at the same time as CONFIG_TICK_BASED_ACCOUNTING probably breaks :)
I am posting this because it works, and because I would like to know what other changes I need to make at the same time.