irq: Reorder time handling against HARDIRQ_OFFSET on IRQ entry v3
Status from this message: The following commit has been merged into the irq/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | sched/cputime: Remove symbol exports from IRQ time accountingarch/ kernel/ | +5 | 1 reply | |
| 2/5 | s390/vtime: Use the generic IRQ entry accountingarch/ arch/ arch/ +2 more | +9 | 1 reply | |
| 3/5 | sched/vtime: Consolidate IRQ time accountingarch/ arch/ arch/ +2 more | +106 | 0 replies | |
| 4/5 | irqtime: Move irqtime entry accounting after irq offset incrementationinclude/ include/ kernel/ +1 more | +40 | 6 replies | |
| 5/5 | irq: Call tick_irq_enter() inside HARDIRQ_OFFSETkernel/ | +5 | 0 replies |
Reviews trailers per patch
3 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Peter Zijlstra (Intel) | Christian Borntraeger |
|---|---|---|
| 1/5 | A-b | |
| 2/5 | A-b | |
| 3/5 | ||
| 4/5 | A-b | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] irq: Reorder time handling against HARDIRQ_OFFSET on IRQ entry v3
Slightly different design this time. As per Peter and Thomas reviews and suggestions, use the following layout:
account_softirq_enter() -> irqtime_account_irq(curr, SOFTIRQ_OFFSET); account_softirq_exit() -> irqtime_account_irq(curr, 0); account_hardirq_enter() -> irqtime_account_irq(curr, HARDIRQ_OFFSET); account_hardirq_exit() -> irqtime_account_irq(curr, 0);
So now the preempt count offset is substracted in the cputime dispatch function and the resulting code is better consolidated.
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
irq/core-v3
HEAD: 24a2d6c76759bd4496cbdcd365012c821a984eec
Thanks,
Frederic
---
Frederic Weisbecker (5):
sched/cputime: Remove symbol exports from IRQ time accounting s390/vtime: Use the generic IRQ entry accounting sched/vtime: Consolidate IRQ time accounting
irqtime: Move irqtime entry accounting after irq offset incrementation
irq: Call tick_irq_enter() inside HARDIRQ_OFFSET
arch/Kconfig | 7 +++++- arch/ia64/kernel/time.c | 20 ++++++++++++---- arch/powerpc/kernel/time.c | 56 ++++++++++++++++++++++++++++++------------- arch/s390/Kconfig | 1 + arch/s390/include/asm/vtime.h | 1 - arch/s390/kernel/vtime.c | 51 +++++++++++++++++++++++++-------------- include/linux/hardirq.h | 4 ++-- include/linux/vtime.h | 42 +++++++++++++++++++------------- kernel/sched/cputime.c | 36 +++++++++++++--------------- kernel/softirq.c | 20 +++++++--------- 10 files changed, 148 insertions(+), 90 deletions(-)