commit | 6f542efcbc74801eb4bfa0dbba64c2df6811b2d3 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Wed Mar 05 10:14:34 2014 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 06 17:24:54 2014 -0500 |
tree | de599fdf0df82a87994f7c4c91e11acf3885614d | |
parent | e86800f9201d35b6b2aac1583a9bf9e3a0b0c70d [diff] |
net_sched: htb: do not acquire qdisc lock in dump operations htb_dump() and htb_dump_class() do not strictly need to acquire qdisc lock to fetch qdisc and/or class parameters. We hold RTNL and no changes can occur. This reduces by 50% qdisc lock pressure while doing tc qdisc|class dump operations. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>