diff options
author | 2009-01-12 21:54:40 -0800 | |
---|---|---|
committer | 2009-01-12 21:54:40 -0800 | |
commit | a73be040650463eacb95f83d2e6673ac57b4fc59 (patch) | |
tree | ae3958ba9830448e18a0dedc82c8d7c031af2476 /include/linux/kernel.h | |
parent | pkt_sched: sch_htb: Consider used jiffies in htb_do_events() (diff) | |
download | wireguard-linux-a73be040650463eacb95f83d2e6673ac57b4fc59.tar.xz wireguard-linux-a73be040650463eacb95f83d2e6673ac57b4fc59.zip |
pkt_sched: sch_htb: Break all htb_do_events() after 2 jiffies
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>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions