aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorImran Khan <[email protected]>2023-05-09 08:31:23 +1000
committerPaul E. McKenney <[email protected]>2023-07-10 14:19:04 -0700
commit5bd00f6db012f75b42434d39b7fec98b95c1afcc (patch)
treef538ea2bf968a283895aaffd3eab88b0ef3f0dd1 /lib/test_fortify/write_overflow-strncpy-src.c
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff)
smp: Reduce logging due to dump_stack of CSD waiters
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: Imran Khan <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Juergen Gross <[email protected]> Cc: Valentin Schneider <[email protected]> Cc: Yury Norov <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions