Re: [PATCH] gettimeofday jumps backwards then forwards

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

 



Martin Michlmayr writes:
> * Dave Johnson <djohnson+linuxmips@xxxxxxxxxxxxxxxxxxxxxx> [2005-07-20 10:43]:
> > Below are 2 fixes I made to 2.6.12 to do with time jumping around
> > as reported by gettimeofday().  One is SB1250 specific and one appears
> > generic.
> > 
> > The symptom is revealed by running multile copies (1 per cpu) of a
> > simple test program that calls gettimeofday() as fast as possible
> > looking for time to go backwards.
> > 
> > When a jump is detected the program outputs a few samples before and
> > after each jump:
> 
> Does anyone have comments regarding this patch?

In addition to this problem I found significant lost ticks under load
as there is no checking for lost ticks. I'll create a clean patch with
just that fix in a bit.


-- 
Dave Johnson
Starent Networks



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux