]> git.baikalelectronics.ru Git - kernel.git/commit
rcuscale: Allow rcuscale without RCU Tasks Rude/Trace
authorPaul E. McKenney <paulmck@kernel.org>
Sat, 26 Mar 2022 00:05:40 +0000 (17:05 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 20 Apr 2022 23:53:19 +0000 (16:53 -0700)
commit7f2573268f44792bdfa3cd38baa822e2caa8205c
tree94c24ebd1addb3f42bdaf756c4fd8cf8e5bae7d7
parent184e4df0daae6985471109a1bd8b483711c0b298
rcuscale: Allow rcuscale without RCU Tasks Rude/Trace

Currently, a CONFIG_PREEMPT_NONE=y kernel substitutes normal RCU for
RCU Tasks Rude and RCU Tasks Trace.  Unless that kernel builds rcuscale,
whether built-in or as a module, in which case these RCU Tasks flavors are
(unnecessarily) built in.  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 Rude
and RCU Tasks Trace.

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