Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757032AbXLHPsa (ORCPT ); Sat, 8 Dec 2007 10:48:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751462AbXLHPsW (ORCPT ); Sat, 8 Dec 2007 10:48:22 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:49877 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750974AbXLHPsV (ORCPT ); Sat, 8 Dec 2007 10:48:21 -0500 Date: Sat, 8 Dec 2007 16:47:55 +0100 From: Ingo Molnar To: Parag Warudkar Cc: Thomas Gleixner , "Pallipadi, Venkatesh" , LKML , Andrew Morton , Linus Torvalds Subject: Re: soft lockup - CPU#1 stuck for 15s! [swapper:0] Message-ID: <20071208154755.GA5255@elte.hu> References: <82e4877d0712071453h38795e36of26324a4b123fa6c@mail.gmail.com> <924EFEDD5F540B4284297C4DC59F3DEE38C3C2@orsmsx423.amr.corp.intel.com> <82e4877d0712080710g205ba93ag12ee204b15d70fdb@mail.gmail.com> <82e4877d0712080736v12c1e31at9149655ae000fe50@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <82e4877d0712080736v12c1e31at9149655ae000fe50@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1444 Lines: 42 * Parag Warudkar wrote: > [] tick_broadcast_oneshot_control+0x10/0xda > [] tick_notify+0x1d4/0x2eb > [] get_next_timer_interrupt+0x143/0x1b4 > [] notifier_call_chain+0x2a/0x47 > [] raw_notifier_call_chain+0x17/0x1a > [] clockevents_notify+0x19/0x4f > [] acpi_idle_enter_simple+0x183/0x1d0 > [] cpuidle_idle_call+0x53/0x78 > [] cpuidle_idle_call+0x0/0x78 > [] cpu_idle+0x97/0xb8 > ======================= > BUG: soft lockup - CPU#1 stuck for 11s! [vim:3736] does the patch below help? But the root cause is likely some timer problems - do you get consistent results from: while :; do time usleep 1111111; done or do these sleeps fluctuate? Ingo Index: linux/kernel/sched.c =================================================================== --- linux.orig/kernel/sched.c +++ linux/kernel/sched.c @@ -774,6 +774,7 @@ void sched_clock_idle_wakeup_event(u64 d struct rq *rq = cpu_rq(smp_processor_id()); u64 now = sched_clock(); + touch_softlockup_watchdog(); rq->idle_clock += delta_ns; /* * Override the previous timestamp and ignore all -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/