]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f2de8fcb210d829947562215051a86b310dfe67
tree880feb6b503b5c450ba27b589aae7461626ffc74
parent00340575541ac8e815ffddcb91aa914114bdf1eb
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