context_tracking: Optimize context switch off case with static keys
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 11 Jul 2013 17:42:13 +0000 (19:42 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 14 Aug 2013 15:14:47 +0000 (17:14 +0200)
commit73d424f9af7b571276e6284617cb59726d47bf12
tree6ee47dd0327e67c8514ebfefc12728b030e79ae5
parent48d6a816a8bf36e2a197c322697323003bdc1cfe
context_tracking: Optimize context switch off case with static keys

No need for syscall slowpath if no CPU is full dynticks,
rather nop this in this case.

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