lkml.org 
[lkml]   [2006]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG] Timer subsystem broken for Pentium M / early XEON / P6 family
Knut Petersen <Knut_Petersen@t-online.de> wrote:
>
> Obviously printk time jumps. But it is also inaccurate compared against
> system time: 10:33:18 is
> 1116 seconds after 10:14:42, and so the printk time at 10:33:18 should
> be 1260+1116==2376 and not 2362.
> That means printk time lost 14 seconds against system time in less that
> 20 Minutes.

printk-time is really just a debugging/development thing - it doesn't try
to be serious.

We _could_ use some more accurate time function for this, but most of them
take locks, and taking locks inside printk isn't a great idea.

Plus syslogd already adds timestamps.
-
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: 2006-01-21 21:49    [W:0.048 / U:3.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site