nohz: Optimize full dynticks's sched hooks with static keys
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 24 Jul 2013 21:52:27 +0000 (23:52 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 14 Aug 2013 15:14:58 +0000 (17:14 +0200)
commitd13508f9440e46dccac6a2dd48d51a73b2207482
tree880feb6b503b5c450ba27b589aae7461626ffc74
parent460775df4680b4593d8449bc171008578625a850
nohz: Optimize full dynticks's sched hooks with static keys

Scheduler IPIs and task context switches are serious fast path.
Let's try to hide as much as we can the impact of full
dynticks APIs' off case that are called on these sites
through the use of 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/tick.h
kernel/time/tick-sched.c