Re: [RFC NET_SCHED 00/03]: ktime + nano-second clock resolution for packet schedulers

2007-03-05 Thread Patrick McHardy
David Miller wrote: Frankly, I think now that we have ktime and all of the proper generic infrastructure to do this stuff properly, I think we should just use ktime for the packet scheduler across the board and just delete all of that old by-hand timekeeping selection crap from pkt_sched.h

Re: [RFC NET_SCHED 00/03]: ktime + nano-second clock resolution for packet schedulers

2007-03-05 Thread Stephen Hemminger
On Mon, 05 Mar 2007 18:42:26 +0100 Patrick McHardy [EMAIL PROTECTED] wrote: David Miller wrote: Frankly, I think now that we have ktime and all of the proper generic infrastructure to do this stuff properly, I think we should just use ktime for the packet scheduler across the board and

Re: [RFC NET_SCHED 00/03]: ktime + nano-second clock resolution for packet schedulers

2007-03-05 Thread Patrick McHardy
Stephen Hemminger wrote: Don't bother changing netem. I have a version that uses hrtimer's and doesn't use PSCHED() clock source anymore. Me too :) I'm going to send it with my other patches soon, if you don't like it we can still drop it. - To unsubscribe from this list: send the line

[RFC NET_SCHED 00/03]: ktime + nano-second clock resolution for packet schedulers

2007-03-04 Thread Patrick McHardy
These patches convert the GETTIMEOFDAY packet scheduler clock source to ktime (based on Stephen's patch) and add support for using nano-second clock resolution. I chose a scalar time representation within the packet schedulers instead of ktime_t since it minimizes the ktime_to_ns() calls in most

Re: [RFC NET_SCHED 00/03]: ktime + nano-second clock resolution for packet schedulers

2007-03-04 Thread David Miller
From: Patrick McHardy [EMAIL PROTECTED] Date: Sun, 4 Mar 2007 20:05:30 +0100 (MET) These patches convert the GETTIMEOFDAY packet scheduler clock source to ktime (based on Stephen's patch) and add support for using nano-second clock resolution. I chose a scalar time representation within the