aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2021-11-10 12:50:56 +1000
committerMichael Ellerman <[email protected]>2021-11-25 11:25:34 +1100
commit1f01bf90765fa5f88fbae452c131c1edf5cda7ba (patch)
tree4ac3efdd608cf7f5e6599f88adc142d1e029e732 /tools/perf/scripts/python/bin
parent76521c4b0291ad25723638ade5a0ff4d5f659771 (diff)
powerpc/watchdog: read TB close to where it is used
When taking watchdog actions, printing messages, comparing and re-setting wd_smp_last_reset_tb, etc., read TB close to the point of use and under wd_smp_lock or printing lock (if applicable). This should keep timebase mostly monotonic with kernel log messages, and could prevent (in theory) a laggy CPU updating wd_smp_last_reset_tb to something a long way in the past, and causing other CPUs to appear to be stuck. These additional TB reads are all slowpath (lockup has been detected), so performance does not matter. Signed-off-by: Nicholas Piggin <[email protected]> Reviewed-by: Laurent Dufour <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions