netdev
[Top] [All Lists]

Re: gettime: Was (Re: Route cache performance under stress

To: hadi@xxxxxxxxxxxxxxxx
Subject: Re: gettime: Was (Re: Route cache performance under stress
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Wed, 11 Jun 2003 20:29:15 -0700 (PDT)
Cc: greearb@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20030611065255.L39678@shell.cyberus.ca>
References: <3EE68B15.60802@candelatech.com> <20030610.203325.41658167.davem@redhat.com> <20030611065255.L39678@shell.cyberus.ca>
Sender: netdev-bounce@xxxxxxxxxxx
   From: Jamal Hadi <hadi@xxxxxxxxxxxxxxxx>
   Date: Wed, 11 Jun 2003 07:54:53 -0400 (EDT)

   Sounds like a good idea.
   
   if (skbneedstimestamp)
        do_gettimeofday(&skb->stamp);
   else
        defertimestamp()
   
Damn, read the thread Jamal :(  This is not possible at all.

We do not know the value of 'skbneedstimestamp' until much later,
but we MUST make the timestamp now in order for it to be accurate.

<Prev in Thread] Current Thread [Next in Thread>