Re: [Linux-ia64] [PATCH] settimeofday() not synchronised with gettimeofday()

From: David Mosberger <davidm_at_napali.hpl.hp.com>
Date: 2003-03-27 09:19:51
>>>>> On Wed, 26 Mar 2003 13:39:25 +0100, Eric Piel <Eric.Piel@Bull.Net> said:

  >> I don't understand what does the line in settimeofday(): nsec -=
  >> (jiffies - wall_jiffies ) * (1000000000 / HZ);

  Eric> Finally I read the code to do the same thing for i386 (get and
  Eric> settimeofday()). This explains the meaning of this line, in
  Eric> the i386 it's associated with the equivalent line in
  Eric> do_gettimeofday()! On ia64 everything is done inside of
  Eric> gettimeoffset(). Therefore I'm now confident that suppressing
  Eric> this line is a Good Thing ;-) The patch doing it wrt the bk
  Eric> tree is attached.

Good catch.  I applied this patch.

Thanks,

	--david
Received on Wed Mar 26 14:21:28 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:12 EST