Re: hires timestamps for netif_rx()

From: David S. Miller (davem@redhat.com)
Date: Fri Jan 18 2002 - 15:36:00 EST


   From: Andi Kleen <ak@suse.de>
   Date: Fri, 18 Jan 2002 21:14:08 +0100

   On Fri, Jan 18, 2002 at 12:09:05PM -0800, David S. Miller wrote:
> Andi, i386 SMP? :-)
   
   If you used do_gettimeofday unconditionally then everybody would eat the readlock, not
   only i386 (unless you change it to be lockless first like andrea did for the
   x86-64 vsyscall version)
   
   If you didn't propose to use it unconditionally then I
   misunderstood you and I apologize.

Andi, the x86 platforms that have SMP have TSC and in that
case do_get_fast_time == do_gettimeofday and there is no read locking
:-))))))))))))

This is the whole point of this, get_fast_time is total garbage.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Wed Jan 23 2002 - 21:01:13 EST