[GIT PULL] cputime fixes and cleanups

Frederic Weisbecker
2016-07-13T14:50:45Z

Ingo,

Please pull the sched/cputime branch that can be found at:

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
sched/cputime

It is based on top of tip:sched/core due to conflicts against commits in
this branch.

HEAD: 363e4ca0466a3db318fce18e53f6e492bffc0202

---
Summary of changes:

* Fix system/idle cputime leaked on cputime accounting (all nohz configs)
* Remove nohz full messy ad-hoc irqtime accounting, make it compatible
with CONFIG_IRQ_TIME_ACCOUNTING instead.
* Cleanups
* Remove unecessary irq disablement on irqtime code.

Thanks,
Frederic
---

Rik van Riel (3):
sched,time: Count actually elapsed irq & softirq time
nohz,cputime: Replace VTIME_GEN irq time code with IRQ_TIME_ACCOUNTING code
time: Drop local_irq_save/restore from irqtime_account_irq

Frederic Weisbecker (2):
sched: Complete cleanup of old vtime gen irqtime accounting
sched: Reorganize vtime native irqtime accounting headers

include/asm-generic/cputime_nsecs.h | 2 +
include/linux/vtime.h | 50 ++++-------
init/Kconfig | 6 +-
kernel/sched/cputime.c | 171 ++++++++++++++++++------------------
4 files changed, 109 insertions(+), 120 deletions(-)