LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>
Subject: Re: 2.6.20-git15 BUG: soft lockup detected on CPU#0! - timers?
Date: Wed, 21 Feb 2007 21:00:44 +0100	[thread overview]
Message-ID: <1172088044.25076.125.camel@localhost.localdomain> (raw)
In-Reply-To: <6bffcb0e0702210738p687ca1bdt2c568d7ed5904fff@mail.gmail.com>

Michal,

On Wed, 2007-02-21 at 16:38 +0100, Michal Piotrowski wrote:
> > But you still have those softirq pending messages, right ?
> 
> Yes
> 
> (+ new NOHZ: local_softirq_pending 02)

Yike, that's the timer softirq.

Can you add the patch below, maybe it gives us some useful info. Please
enable lockdep (your last config had it already)

Thanks,

	tglx

diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index 512a4a9..cc705c7 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -165,9 +165,11 @@ void tick_nohz_stop_sched_tick(void)
 		goto end;
 
 	cpu = smp_processor_id();
-	if (unlikely(local_softirq_pending()))
-		printk(KERN_ERR "NOHZ: local_softirq_pending %02x\n",
-		       local_softirq_pending());
+	if (unlikely(local_softirq_pending())) {
+		print_irqtrace_events(current);
+		printk(KERN_ERR "NOHZ: local_softirq_pending %02x, %08x\n",
+		       local_softirq_pending(), preempt_count());
+	}
 
 	now = ktime_get();
 	/*



  reply	other threads:[~2007-02-21 19:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-20 18:54 Michal Piotrowski
2007-02-20 21:56 ` Thomas Gleixner
2007-02-20 22:37   ` Michal Piotrowski
2007-02-21 15:33     ` Thomas Gleixner
2007-02-21 15:38       ` Michal Piotrowski
2007-02-21 20:00         ` Thomas Gleixner [this message]
2007-02-22  1:47           ` Michal Piotrowski
2007-02-22 10:50             ` Michal Piotrowski
2007-02-23  6:08               ` Ingo Molnar
2007-02-23  7:32                 ` Mike Galbraith
2007-02-23 10:10                 ` Ingo Molnar
2007-02-24 22:45                 ` Michal Piotrowski
2007-02-25  9:53                   ` Thomas Gleixner
2007-02-26 13:01                     ` Michal Piotrowski
2007-02-26 13:25                       ` [patch] sched: fix SMT scheduler bug Ingo Molnar

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=1172088044.25076.125.camel@localhost.localdomain \
    --to=tglx@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.k.k.piotrowski@gmail.com \
    --cc=mingo@elte.hu \
    --subject='Re: 2.6.20-git15 BUG: soft lockup detected on CPU#0'\!' - timers?' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

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