• Paul E. McKenney's avatar
    rcutorture: Allow rcutorture without RCU Tasks Trace · 40c1278a
    Paul E. McKenney authored
    Unless a kernel builds rcutorture, whether built-in or as a module, that
    kernel is also built with CONFIG_TASKS_TRACE_RCU, whether anything else
    needs Tasks Trace RCU or not.  This unnecessarily increases kernel size.
    This commit therefore decouples the presence of rcutorture from the
    presence of RCU Tasks Trace.
    
    However, there is a need to select CONFIG_TASKS_TRACE_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_TRACE_RCU that selects CONFIG_TASKS_TRACE_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>
    40c1278a
rcutorture.c 101 KB