]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pkt_sched: sch_htb: Use workqueue to schedule after too many events.
authorJarek Poplawski <jarkao2@gmail.com>
Sun, 1 Feb 2009 09:13:22 +0000 (01:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Feb 2009 09:13:22 +0000 (01:13 -0800)
commit1224736d97e83367bb66e29c2bee0f570f09db3e
tree540dcc52f54a0a440826cd66d1f43c558e5013a7
parente82181de5ef4648074765912d2d82d6bd60115eb
pkt_sched: sch_htb: Use workqueue to schedule after too many events.

Patrick McHardy <kaber@trash.net> suggested using a workqueue instead
of hrtimers to trigger netif_schedule() when there is a problem with
setting exact time of this event: 'The differnce - yeah, it shouldn't
make much, mainly wake up the qdisc earlier (but not too early) after
"too many events" occured _and_ no further enqueue events wake up the
qdisc anyways.'

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c