sched/irqtime: Consolidate accounting synchronization with u64_stats API
authorFrederic Weisbecker <fweisbec@gmail.com>
Mon, 26 Sep 2016 00:29:20 +0000 (02:29 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 30 Sep 2016 09:46:40 +0000 (11:46 +0200)
commit19d23dbfeb10724675152915e76e03d771f23d9d
treed67760ee107a72bfb3fd4ca7f584e63aa689bb07
parent68107df5f2cb5dc3785be40162bfe2f19a178bbb
sched/irqtime: Consolidate accounting synchronization with u64_stats API

The irqtime accounting currently implement its own ad hoc implementation
of u64_stats API. Lets rather consolidate it with the appropriate
library.

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-5-git-send-email-fweisbec@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/cputime.c
kernel/sched/sched.h