nohz: Optimize full dynticks state checks 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:57 +0000 (17:14 +0200)
commit460775df4680b4593d8449bc171008578625a850
tree9b6adb04b9751c70c05bfa97761bd5f2a5c9d1aa
parent73867dcd0792ad14fb31bfe73d09d9a4576f7fc2
nohz: Optimize full dynticks state checks with static keys

These APIs are frequenctly accessed and priority is given
to optimize the full dynticks off-case in order to let
distros enable this feature without suffering from
significant performance regressions.

Let's inline these APIs and optimize them 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/tick.h
kernel/time/tick-sched.c