]> git.baikalelectronics.ru Git - kernel.git/commit
vtime: Always scale generic vtime accounting results
authorFrederic Weisbecker <fweisbec@gmail.com>
Sat, 13 Jul 2013 15:24:20 +0000 (17:24 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 14 Aug 2013 15:14:55 +0000 (17:14 +0200)
commit7dbc673378ca87912860917c694f56e0897dc126
tree46dbf41c4842d237d9c93ad24ef2ad1d7373f60e
parent0a4cca657b6ec7da0fbbe49a26d17394d076bea1
vtime: Always scale generic vtime accounting results

The cputime accounting in full dynticks can be a subtle
mixup of CPUs using tick based accounting and others using
generic vtime.

As long as the tick can have a share on producing these stats, we
want to scale the result against CFS precise accounting as the tick
can miss some task hiding between the periodic interrupt.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Li Zhong <zhong@linux.vnet.ibm.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Kevin Hilman <khilman@linaro.org>
kernel/sched/cputime.c