netdev
[Top] [All Lists]

Re: [PATCH 2.6]: Make packet scheduler clock source configurable

To: shemminger@xxxxxxxx
Subject: Re: [PATCH 2.6]: Make packet scheduler clock source configurable
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Mon, 12 Jul 2004 20:50:37 -0700
Cc: kaber@xxxxxxxxx, netdev@xxxxxxxxxxx, devik@xxxxxx
In-reply-to: <1107.63.170.215.71.1089689716.squirrel@xxxxxxxxxxxx>
References: <40F34740.5040100@xxxxxxxxx> <1107.63.170.215.71.1089689716.squirrel@xxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Mon, 12 Jul 2004 20:35:16 -0700 (PDT)
shemminger@xxxxxxxx wrote:

> I have a patch (to the original) which replaces the arch dependant CPU stuff
> with the arch neutral sched_clock() which although slightly
> slower works on a x86_64 and ia64 as well.

I also want to add sparc64 %tick register support here too.
This is an area with a lot of potential cleanup.  We should
made an asm/pkt_sched.h to abstract out the clock source
implementation instead of loading net/pkt_sched.h up with
a pile of ifdefs.

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