On Wednesday 28 March 2007 16:00, Prarit Bhargava wrote:Yeah -- you're probably right, and besides that we're not seeing a crazy # of softlockup messages after touch_nmi_watchdogs calls.
Andi,touch_nmi_watchdog is attempting to tickle _all_ CPUs softlockup watchdogs.It is supposed to only touch the current CPU, just like it only touches
the NMI watchdog on the current CPU.
(sorry for the cut-and-paste).
touch_nmi_watchdogs sets EACH CPUs alert_counter to 0.
You're right. Sorry for the confusion.
But just touching the current CPU would make much more sense. After all
the caller doesn't know anything about the state of other CPUs. Perhaps it would be best
to just change that and keep the softlockup semantics.
-Andi-