LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* how can I touch softlockup watchdog on all cpus?
@ 2007-03-21 16:06 Cestonaro, Thilo (external)
  2007-03-21 16:44 ` Dave Jones
  0 siblings, 1 reply; 11+ messages in thread
From: Cestonaro, Thilo (external) @ 2007-03-21 16:06 UTC (permalink / raw)
  To: linux-kernel

Hey,

my module generates this ugly softlockup dump, because all cpus are stopped longer then 10 secs.
What I do is:
[code]
local_irq_disable();
// my stuff which takes long and stopps all cpus
.....
touch_softlockup_watchdog();
local_irq_enable();
[/code]

this prevents a dump of my current cpu but not for all.
A call to smp_call_function with a function which calls touch_softlockup_watchdog in it,
doesn't work because smp_call_function needs to be done with irqs enabled, so the watchdog comes first :(.

Any hints or ideas how I can do it in a better way? Disabling softlockup watchdog is not possible for me.

Ciao Thilo

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: how can I touch softlockup watchdog on all cpus?
@ 2007-03-21 16:10 Cestonaro, Thilo (external)
  0 siblings, 0 replies; 11+ messages in thread
From: Cestonaro, Thilo (external) @ 2007-03-21 16:10 UTC (permalink / raw)
  To: linux-kernel

Hey again,

forgot to mention that I tried this patch, but did not work for me:
http://lkml.org/lkml/2007/3/15/131

Ciao Thilo

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-03-23  1:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-21 16:06 how can I touch softlockup watchdog on all cpus? Cestonaro, Thilo (external)
2007-03-21 16:44 ` Dave Jones
2007-03-22  7:33   ` Cestonaro, Thilo (external)
2007-03-22 15:30     ` Lee Revell
2007-03-22 15:46       ` Cestonaro, Thilo (external)
2007-03-22 16:17         ` Lee Revell
2007-03-22 16:46           ` Cestonaro, Thilo (external)
2007-03-22 22:46             ` Jeremy Fitzhardinge
2007-03-23  1:16               ` Dave Jones
2007-03-23  1:48                 ` Jeremy Fitzhardinge
2007-03-21 16:10 Cestonaro, Thilo (external)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).