diff options
author | Jarek Poplawski <jarkao2@gmail.com> | 2008-11-24 15:48:05 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-24 15:48:05 -0800 |
commit | 4db0acf3c0afbbbb2ae35a65f8896ca6655a47ec (patch) | |
tree | e13b52665a811f9c5ad3621a2408be1b4f70c78c /include | |
parent | 3f0947c3ffaed33c1c38b79e4b17f75ba072d3e9 (diff) |
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')
0 files changed, 0 insertions, 0 deletions