context_tracking: Optimize guest APIs off case with static key
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 10 Jul 2013 00:44:35 +0000 (02:44 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 14 Aug 2013 15:14:46 +0000 (17:14 +0200)
commit48d6a816a8bf36e2a197c322697323003bdc1cfe
tree6a51b602ec4451b8443b2b58337e9a55c84ceb48
parentad65782fba507d91a0a98f519b59e79cac1b474c
context_tracking: Optimize guest APIs off case with static key

Optimize guest entry/exit APIs with static keys. This minimize
the overhead for those who enable CONFIG_NO_HZ_FULL without
always using it. Having no range passed to nohz_full= should
result in the probes overhead to be minimized.

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
kernel/context_tracking.c
kernel/sched/cputime.c