diff options
| author | 2017-09-25 09:14:14 -0700 | |
|---|---|---|
| committer | 2017-09-28 09:40:59 -0700 | |
| commit | 8f1975e31d8ed0c021a1993a4d9123dd39c740ea (patch) | |
| tree | c6a89ea132e322e203ae6cd3817819c71062f5fd /net/sched/cls_basic.c | |
| parent | Merge branch 'mlxsw-Add-support-for-offloading-IPv4-multicast-routes' (diff) | |
| download | wireguard-linux-8f1975e31d8ed0c021a1993a4d9123dd39c740ea.tar.xz wireguard-linux-8f1975e31d8ed0c021a1993a4d9123dd39c740ea.zip | |
inetpeer: speed up inetpeer_invalidate_tree()
As measured in my prior patch ("sch_netem: faster rb tree removal"),
rbtree_postorder_for_each_entry_safe() is nice looking but much slower
than using rb_next() directly, except when tree is small enough
to fit in CPU caches (then the cost is the same)
From: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions
