• Paul E. McKenney's avatar
    rcu: Move RCU CPU stall-warning code out of update.c · 10462d6f
    Paul E. McKenney authored
    The RCU CPU stall-warning code for normal grace periods is currently
    scattered across three files, due to earlier Tiny RCU support for RCU
    CPU stall warnings and for old Kconfig options that have long since
    been retired.  Given that it is hard for the lead RCU maintainer to
    find relevant stall-warning code, it would be good to consolidate it.
    This commit starts this process by moving stall-warning code from
    kernel/rcu/update.c to a new kernel/rcu/tree_stall.h file.
    
    Note that the definitions of rcu_cpu_stall_suppress and
    rcu_cpu_stall_timeout must remain in kernel/rcu/update.h to provide
    compatibility for kernel boot parameter lists.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
    10462d6f
rcu.h 15.9 KB