]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NETEM]: avoid excessive requeues
authorStephen Hemminger <shemminger@linux-foundation.org>
Thu, 22 Mar 2007 19:17:42 +0000 (12:17 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:27:22 +0000 (22:27 -0700)
commit11274e5a43266d531140530adebead6903380caf
tree38c365a3835c9e5973fb1941a31dde8cc4856724
parent075aa573b74a732aeff487ab77d3fbd627c10856
[NETEM]: avoid excessive requeues

The netem code would call getnstimeofday() and dequeue/requeue after
every packet, even if it was waiting. Avoid this overhead by using
the throttled flag.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c
net/sched/sch_netem.c