]> git.baikalelectronics.ru Git - kernel.git/commit
cputime: Dynamically scale cputime for full dynticks accounting
authorFrederic Weisbecker <fweisbec@gmail.com>
Mon, 25 Feb 2013 16:25:39 +0000 (17:25 +0100)
committerFrederic Weisbecker <fweisbec@gmail.com>
Thu, 7 Mar 2013 16:10:32 +0000 (17:10 +0100)
commit88cfa5ebedb8b874cf03a50fb4234a940355fb88
tree9eef797db037ced359dc5abcc6945cfb8f303a09
parentc1400a59a74485da61272fd8930f06f7c265a7a1
cputime: Dynamically scale cputime for full dynticks accounting

The full dynticks cputime accounting is able to account either
using the tick or the context tracking subsystem. This way
the housekeeping CPU can keep the low overhead tick based
solution.

This latter mode has a low jiffies resolution granularity and
need to be scaled against CFS precise runtime accounting to
improve its result. We are doing this for CONFIG_TICK_CPU_ACCOUNTING,
now we also need to expand it to full dynticks accounting dynamic
off-case as well.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Li Zhong <zhong@linux.vnet.ibm.com>
Cc: Kevin Hilman <khilman@linaro.org>
Cc: Mats Liljegren <mats.liljegren@enea.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/sched.h
kernel/fork.c
kernel/sched/cputime.c