Subject: Re: [PATCH] Avoid gettimeofday when not needed

From: [email-masked]
Date: Wed, 31 Mar 2004 13:22:14 +0100

Andi Kleen wrote:
> This patch implements an optimization I proposed a long time 
> ago. gettimeofday can be quite costly and it currently is 
> on the fast path of every packet. Normally the packet time stamp
> is not needed (e.g. TCP doesn't use it), except for tcpdump
> and a few applications.

Will this work for apps that don't use a seperate syscall
to get the timestamp. Like CONFIG_PACKET_MMAP for e.g?

Pádraig.