rcu-tasks: Use context-switch hook for PREEMPT=y kernels
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 16 Mar 2020 22:22:44 +0000 (15:22 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 27 Apr 2020 18:03:50 +0000 (11:03 -0700)
commit66777e5821f6e672003fde697b8489402bb5aa98
tree9d5f442f267743812afceef07d1ab7c0b78056cc
parentac3caf827488d3bc4d4101ff34931abbfa33839d
rcu-tasks: Use context-switch hook for PREEMPT=y kernels

Currently, the PREEMPT=y version of rcu_note_context_switch() does not
invoke rcu_tasks_qs(), and we need it to in order to keep RCU Tasks
Trace's IPIs down to a dull roar.  This commit therefore enables this
hook.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree_plugin.h