| To: | Andi Kleen <ak@xxxxxx> |
|---|---|
| Subject: | Re: [PATCH] Avoid gettimeofday when not needed |
| From: | P@xxxxxxxxxxxxxx |
| Date: | Wed, 31 Mar 2004 13:22:14 +0100 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <200403311201.i2VC13D19579@xxxxxxxxxxx> |
| References: | <200403311201.i2VC13D19579@xxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040124 |
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 stampis 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. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] Avoid gettimeofday when not needed, Andi Kleen |
|---|---|
| Next by Date: | Re: [PATCH] Avoid gettimeofday when not needed, Ville Nuorvala |
| Previous by Thread: | [PATCH] Avoid gettimeofday when not needed, Andi Kleen |
| Next by Thread: | Re: [PATCH] Avoid gettimeofday when not needed, Andi Kleen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |