lkml.org 
[lkml]   [2012]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [3.6-rc1] sched: clock counts too quickly
From
Date
Tetsuo Handa wrote:
> > Under unknown condition, clock starts counting up too quickly which is enough
> > to confuse hangcheck timer to print stall warning.
> I wrote a test program.

I suspected that this is a problem within adjtimex() because strace reported clock
jump at adjtimex(). But I've just hit this problem with settimeofday() alone.

---------- test program 2 start ----------
#include <sys/timex.h>

int main(int argc, char *argv[])
{
while (1) {
struct timeval tv;
struct timezone tz;
gettimeofday(&tv, &tz);
settimeofday(&tv, &tz);
}
return 0;
}
---------- test program 2 end ----------

Regards.


\
 
 \ /
  Last update: 2012-08-04 15:01    [W:0.101 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site