git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e86800f
)
net_sched: htb: do not acquire qdisc lock in dump operations
author
Eric Dumazet
<edumazet@google.com>
Wed, 5 Mar 2014 18:14:34 +0000
(10:14 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 6 Mar 2014 22:24:54 +0000
(17:24 -0500)
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>
net/sched/sch_htb.c
patch
|
blob
|
history
diff --cc
net/sched/sch_htb.c
Simple merge