• Imran Khan's avatar
    smp: Reduce logging due to dump_stack of CSD waiters · 5bd00f6d
    Imran Khan authored
    If a waiter is waiting for CSD lock, its call stack will not change
    between first and subsequent hang detection for the same CSD lock.
    Therefore, do dump_stack only for first-time detection for a given waiter.
    
    This avoids excessive logging on systems with hundreds of CPUs where
    repetitive dump_stack from hundreds of CPUs would otherwise flood the
    console.
    Signed-off-by: default avatarImran Khan <imran.f.khan@oracle.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Juergen Gross <jgross@suse.com>
    Cc: Valentin Schneider <vschneid@redhat.com>
    Cc: Yury Norov <yury.norov@gmail.com>
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    5bd00f6d
smp.c 29.8 KB