]> 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)
commit074fd4aed710ac6aec10a2fc4218782fb49e20b2
tree880feb6b503b5c450ba27b589aae7461626ffc74
parentcba225531f2043d2f38add781d03fd4dded6bf19
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