[NET_SCHED]: Use ktime as clocksource
commit641b9e0e8b7f96425da6ce98f3361e3af0baee29
authorPatrick McHardy <kaber@trash.net>
Fri, 16 Mar 2007 08:18:42 +0000 (16 01:18 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:26:04 +0000 (25 22:26 -0700)
tree2315fed3b4fd9df52a52464b9b1ce1561d403a87
parentddc7b8e32b22fe8b45d306b7d99472d4b560add6
[NET_SCHED]: Use ktime as clocksource

Get rid of the manual clock source selection mess and use ktime. Also
use a scalar representation, which allows to clean up pkt_sched.h a bit
more and results in less ktime_to_ns() calls in most cases.

The PSCHED_US2JIFFIE/PSCHED_JIFFIE2US macros are implemented quite
inefficient by this patch, following patches will convert all qdiscs
to hrtimers and get rid of them entirely.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_sched.h
kernel/hrtimer.c
net/sched/Kconfig
net/sched/sch_api.c
net/sched/sch_hfsc.c