sched/irqtime: Consolidate irqtime flushing code
authorFrederic Weisbecker <fweisbec@gmail.com>
Mon, 26 Sep 2016 00:29:21 +0000 (02:29 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 30 Sep 2016 09:46:41 +0000 (11:46 +0200)
commit447976ef4fd09b1be88b316d1a81553f1aa7cd07
tree16bc942df0d68158c012d08a0aa9f145c139cf9f
parent19d23dbfeb10724675152915e76e03d771f23d9d
sched/irqtime: Consolidate irqtime flushing code

The code performing irqtime nsecs stats flushing to kcpustat is roughly
the same for hardirq and softirq. So lets consolidate that common code.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Wanpeng Li <wanpeng.li@hotmail.com>
Link: http://lkml.kernel.org/r/1474849761-12678-6-git-send-email-fweisbec@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/cputime.c