lkml.org 
[lkml]   [1999]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: gettimeofday non-monotonic on 2.2.7 SMP
On Thu, 20 May 1999, dave madden wrote:

>I also added some static variables that track the time returned by
>do_gettimeofday, and if an earlier time is about to be returned, it

There's no need of the xtime_lock while using set/usec.

Instead of adding tricky debugging code into the kernel could you try to
run again your userspace proggy and see if it continues to generate
errors? Checking the retval of gettimeofday from userspace or from the
kernel make no one difference. gettimeofday won't run in irq handlers if
called from usersapce.

Could you try if your old proggy (that looked strightforward to me)
continue to complains or not with my recover-lost-ticks code applyed?

Thanks.

Andrea Arcangeli


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [from the cache]
©2003-2011 Jasper Spaans