| To: | Stephen Hemminger <shemminger@xxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] (4/4) packet scheduler -- use get_jiffies_64 |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Tue, 29 Jun 2004 14:46:49 -0700 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20040629140021.367695ff@dell_ss3.pdx.osdl.net> |
| References: | <20040629140021.367695ff@dell_ss3.pdx.osdl.net> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Tue, 29 Jun 2004 14:00:21 -0700 Stephen Hemminger <shemminger@xxxxxxxx> wrote: > The packet scheduler simulates 64 bit jiffies on 32 bit platforms by running > a timer keeping a mark and and offset. Since there is no locking and this is > racy and doesn't handle jiffie wrap real well. > > We can use get_jiffies_64 on 2.6 do get what is needed. > The downside is the overhead of a function call, and a cache miss in > get_jiffies_64. Looks great, applied. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] (3/4) packet scheduler - eliminate guard from TDIFF_SAFE, David S. Miller |
|---|---|
| Next by Date: | Re: [PATCH] sch_prio - fix compile warning + some logic rearrangement in enqueue, David S. Miller |
| Previous by Thread: | [PATCH] (4/4) packet scheduler -- use get_jiffies_64, Stephen Hemminger |
| Next by Thread: | [PATCH 2.6] Fix message age in bridge STP config packets, Stephen Hemminger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |