LKML Archive on
help / color / mirror / Atom feed
From: Dave Jones <>
To: "Cestonaro,
	Thilo (external)"  <>
Subject: Re: how can I touch softlockup watchdog on all cpus?
Date: Wed, 21 Mar 2007 12:44:04 -0400	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Wed, Mar 21, 2007 at 05:06:34PM +0100, Cestonaro, Thilo (external) wrote:
 > 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.

You didn't explain _why_ you need to sleep for such a long time,
and as you didn't give a pointer to your code, there's not
much people can do to recommend changes other than "don't do that".



  reply	other threads:[~2007-03-21 16:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-21 16:06 Cestonaro, Thilo (external)
2007-03-21 16:44 ` Dave Jones [this message]
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)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \
    --subject='Re: how can I touch softlockup watchdog on all cpus?' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).