aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip.h
diff options
context:
space:
mode:
authorJarek Poplawski <jarkao2@gmail.com>2008-11-24 15:48:05 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-24 15:48:05 -0800
commit4db0acf3c0afbbbb2ae35a65f8896ca6655a47ec (patch)
treee13b52665a811f9c5ad3621a2408be1b4f70c78c /include/net/ip.h
parent3f0947c3ffaed33c1c38b79e4b17f75ba072d3e9 (diff)
downloadmrst-s0i3-test-4db0acf3c0afbbbb2ae35a65f8896ca6655a47ec.tar.gz
mrst-s0i3-test-4db0acf3c0afbbbb2ae35a65f8896ca6655a47ec.tar.xz
mrst-s0i3-test-4db0acf3c0afbbbb2ae35a65f8896ca6655a47ec.zip
net: gen_estimator: Fix gen_kill_estimator() lookups
gen_kill_estimator() linear lists lookups are very slow, and e.g. while deleting a large number of HTB classes soft lockups were reported. Here is another try to fix this problem: this time internally, with rbtree, so similarly to Jamal's hashing idea IIRC. (Looking for next hits could be still optimized, but it's really fast as it is.) Reported-by: Badalian Vyacheslav <slavon@bigtelecom.ru> Reported-by: Denys Fedoryshchenko <denys@visp.net.lb> Signed-off-by: Jarek Poplawski <jarkao2@gmail.com> Acked-by: Jamal Hadi Salim <hadi@cyberus.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip.h')
0 files changed, 0 insertions, 0 deletions