• Paul E. McKenney's avatar
    rcu-tasks: Make RCU Tasks Trace make use of RCU scheduler hooks · 43766c3e
    Paul E. McKenney authored
    This commit makes the calls to rcu_tasks_qs() detect and report
    quiescent states for RCU tasks trace.  If the task is in a quiescent
    state and if ->trc_reader_checked is not yet set, the task sets its own
    ->trc_reader_checked.  This will cause the grace-period kthread to
    remove it from the holdout list if it still remains there.
    
    [ paulmck: Fix conditional compilation per kbuild test robot feedback. ]
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    43766c3e
tasks.h 36.1 KB