refscale: Allow refscale without RCU Tasks
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 25 Mar 2022 21:39:54 +0000 (14:39 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 20 Apr 2022 23:53:19 +0000 (16:53 -0700)
commit5f654af150fd5aeb9fff138c7cbd72cea016b863
tree276311890b87c16d09df4c314b2cca8cede114b7
parent58524e0fed6a4509651005c06dc1a4ecb3ed0a61
refscale: Allow refscale without RCU Tasks

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

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