aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_output.c
diff options
context:
space:
mode:
authorMartin Devera <devik@cdi.cz>2008-03-23 22:00:38 -0700
committerDavid S. Miller <davem@davemloft.net>2008-03-23 22:00:38 -0700
commit8f3ea33a5078a09eba12bfe57424507809367756 (patch)
tree4795705a232810311c72bc6dda939399653806f1 /net/ipv4/xfrm4_output.c
parentconnector: convert to single-threaded workqueue (diff)
downloadlinux-dev-8f3ea33a5078a09eba12bfe57424507809367756.tar.xz
linux-dev-8f3ea33a5078a09eba12bfe57424507809367756.zip
sch_htb: fix "too many events" situation
HTB is event driven algorithm and part of its work is to apply scheduled events at proper times. It tried to defend itself from livelock by processing only limited number of events per dequeue. Because of faster computers some users already hit this hardcoded limit. This patch limits processing up to 2 jiffies (why not 1 jiffie ? because it might stop prematurely when only fraction of jiffie remains). Signed-off-by: Martin Devera <devik@cdi.cz> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_output.c')
0 files changed, 0 insertions, 0 deletions