diff options
author | Thomas Gleixner <[email protected]> | 2011-09-12 13:32:23 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2011-09-13 09:58:29 +0200 |
commit | 9fb60336253edf73dedc527b2aa2bf32eae0d6da (patch) | |
tree | 926cb7ca98eaacea06c8b951ee8b3a1330522c82 /scripts/tracing/draw_functrace.py | |
parent | e8abccb719377af63cb0f1fed289db405e3def16 (diff) |
clocksource: Make watchdog reset lockless
KGDB needs to trylock watchdog_lock when trying to reset the
clocksource watchdog after the system has been stopped to avoid a
potential deadlock. When the trylock fails TSC usually becomes
unstable.
We can be more clever by using an atomic counter and checking it in
the clocksource_watchdog callback. We restart the watchdog whenever
the counter is > 0 and only decrement the counter when we ran through
a full update cycle.
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: John Stultz <[email protected]>
Acked-by: Jason Wessel <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/alpine.LFD.2.02.1109121326280.2723@ionos
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'scripts/tracing/draw_functrace.py')
0 files changed, 0 insertions, 0 deletions