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.021 / U:30.236 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site