pkt_sched: sch_htb: Break all htb_do_events() after 2 jiffies
authorJarek Poplawski <jarkao2@gmail.com>
Tue, 13 Jan 2009 05:54:40 +0000 (21:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jan 2009 05:54:40 +0000 (21:54 -0800)
Currently htb_do_events() breaks events recounting for a level after 2
jiffies, but there is no reason to repeat this for next levels and
increase delays even more (with softirqs disabled). htb_dequeue_tree()
can add to this too, btw. In such a case q->now time is invalid anyway.

Thanks to Patrick McHardy for spotting an error around earlier version
of this patch.

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

No differences found