Messages in this thread | | | Subject | Re: [3.6-rc1] sched: clock counts too quickly | From | Tetsuo Handa <> | Date | Sat, 4 Aug 2012 21:10:32 +0900 |
| |
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.
| |