• Paul E. McKenney's avatar
    locking/csd_lock: Provide an indication of ongoing CSD-lock stall · ac9d4554
    Paul E. McKenney authored
    If a CSD-lock stall goes on long enough, it will cause an RCU CPU
    stall warning.  This additional warning provides much additional
    console-log traffic and little additional information.  Therefore,
    provide a new csd_lock_is_stuck() function that returns true if there
    is an ongoing CSD-lock stall.  This function will be used by the RCU
    CPU stall warnings to provide a one-line indication of the stall when
    this function returns true.
    
    [ neeraj.upadhyay: Apply Rik van Riel feedback. ]
    [ neeraj.upadhyay: Apply kernel test robot feedback. ]
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    Cc: Imran Khan <imran.f.khan@oracle.com>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Leonardo Bras <leobras@redhat.com>
    Cc: "Peter Zijlstra (Intel)" <peterz@infradead.org>
    Cc: Rik van Riel <riel@surriel.com>
    Signed-off-by: default avatarNeeraj Upadhyay <neeraj.upadhyay@kernel.org>
    ac9d4554
Kconfig.debug 99.6 KB