Re: 2.6.14-rc5-rt5 - softirq-timer/0/3[CPU#0]: BUG in ktime_get at kernel/ktimers.c:103

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2005-10-24 at 20:13 +0200, Ingo Molnar wrote:
> * Steven Rostedt <[email protected]> wrote:

> > 
> > Thomas, this hasn't been done yet, has it?
> 
> not yet, but it's in progress. Meanwhile i increased the number of times 
> the warning will be printed per bootup (from 1 to 3), so that if a time 
> warp happens outside of that clock-switch case it should be printed too.
> 

Unfortunately, the problem doesn't go away until the clocks are
eventually updated.  So as Mark got, we see three outputs for every time
this happens until the now catches up with the prev.

Perhaps we should also add another update of prev?

-- Steve

Index: kernels/linux-2.6.14-rc5-rt5/kernel/ktimers.c
===================================================================
--- kernels.orig/linux-2.6.14-rc5-rt5/kernel/ktimers.c	2005-10-24 14:34:32.000000000 -0400
+++ kernels/linux-2.6.14-rc5-rt5/kernel/ktimers.c	2005-10-24 14:34:53.000000000 -0400
@@ -102,6 +102,7 @@
 				ktime_to_ns(prev), ktime_to_ns(now));
 			WARN_ON(1);
 		}
+		per_cpu(prev_mono_time, cpu) = now;
 		return prev;
 	}
 	per_cpu(prev_mono_time, cpu) = now;


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux