rcuscale: Allow rcuscale without RCU Tasks
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 25 Mar 2022 23:39:01 +0000 (16:39 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 20 Apr 2022 23:53:19 +0000 (16:53 -0700)
commit4df002d908796c1ff87b985af1d31a0e36e6c66f
tree7db00121a446072dcab18501497d5a6934f753df
parentdec86781a54f4a527386a0b86b22e99e2ac67a09
rcuscale: Allow rcuscale without RCU Tasks

Currently, a CONFIG_PREEMPT_NONE=y kernel substitutes normal RCU for
RCU Tasks.  Unless that kernel builds rcuscale, whether built-in or as
a module, in which case RCU Tasks is (unnecessarily) built.  This both
increases kernel size and increases the complexity of certain tracing
operations.  This commit therefore decouples the presence of rcuscale
from the presence of RCU Tasks.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/Kconfig.debug
kernel/rcu/rcuscale.c
tools/testing/selftests/rcutorture/configs/rcuscale/CFcommon
tools/testing/selftests/rcutorture/configs/rcuscale/TREE