• Paul E. McKenney's avatar
    rcutorture: Allow rcutorture without RCU Tasks · 3b6e1dd4
    Paul E. McKenney authored
    Currently, a CONFIG_PREEMPT_NONE=y kernel substitutes normal RCU for
    RCU Tasks.  Unless that kernel builds rcutorture, whether built-in or as
    a module, in which case RCU Tasks is (unnecessarily) used.  This both
    increases kernel size and increases the complexity of certain tracing
    operations.  This commit therefore decouples the presence of rcutorture
    from the presence of RCU Tasks.
    
    However, there is a need to select CONFIG_TASKS_RCU for testing purposes.
    Except that casual users must not be bothered with questions -- for them,
    this needs to be fully automated.  There is thus a CONFIG_FORCE_TASKS_RCU
    that selects CONFIG_TASKS_RCU, is user-selectable, but which depends
    on CONFIG_RCU_EXPERT.
    
    [ paulmck: Apply kernel test robot feedback. ]
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    3b6e1dd4
TASKS03 223 Bytes