]> git.baikalelectronics.ru Git - kernel.git/commit
vtime: Optimize full dynticks accounting off case with static keys
authorFrederic Weisbecker <fweisbec@gmail.com>
Fri, 12 Jul 2013 01:10:15 +0000 (03:10 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 14 Aug 2013 15:14:54 +0000 (17:14 +0200)
commit1e33d3d712de7c06b9cb9571d039057210946710
tree5f031cb20338cc3972e7339be17046553b186573
parentaa0a9b8a94a8984dae0bef290040bfa37f2fc575
vtime: Optimize full dynticks accounting off case with static keys

If no CPU is in the full dynticks range, we can avoid the full
dynticks cputime accounting through generic vtime along with its
overhead and use the traditional tick based accounting instead.

Let's do this and nope the off case with static keys.

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>
include/linux/context_tracking.h
include/linux/vtime.h
kernel/sched/cputime.c