lkml.org 
[lkml]   [2005]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Realtime Preemption, 2.6.12, Beginners Guide?

* Alistair John Strachan <s0348365@sms.ed.ac.uk> wrote:

> > great! Do the softlockup warnings still occur?
>
> Yes, but in no greater a number.

could you apply the patch below, so that we can see what kind of time
gap the softlockup detector encountered?

Ingo

Index: linux/kernel/softlockup.c
===================================================================
--- linux.orig/kernel/softlockup.c
+++ linux/kernel/softlockup.c
@@ -65,8 +65,8 @@ void softlockup_tick(void)
per_cpu(print_timestamp, this_cpu) = timestamp;

spin_lock(&print_lock);
- printk(KERN_ERR "BUG: soft lockup detected on CPU#%d!\n",
- this_cpu);
+ printk(KERN_ERR "BUG: soft lockup detected on CPU#%d! %ld-%ld\n",
+ this_cpu, jiffies, timestamp);
dump_stack();
#if defined(__i386__) && defined(CONFIG_SMP)
nmi_show_all_regs();
-
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/
\
 
 \ /
  Last update: 2005-07-07 02:55    [from the cache]
©2003-2011 Jasper Spaans