diff options
author | Yunsheng Lin <[email protected]> | 2021-06-22 14:49:55 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-06-23 12:17:35 -0700 |
commit | dd25296afaf60b5140ddfa9e3d8e5d9df7076754 (patch) | |
tree | b40d4c10c3406f24480ee664c88f138aa1e3b569 /scripts/gdb/linux/utils.py | |
parent | 38f75922a6905b010f597fc70dbb5db28398728e (diff) |
net: sched: avoid unnecessary seqcount operation for lockless qdisc
qdisc->running seqcount operation is mainly used to do heuristic
locking on q->busylock for locked qdisc, see qdisc_is_running()
and __dev_xmit_skb().
So avoid doing seqcount operation for qdisc with TCQ_F_NOLOCK
flag.
Acked-by: Jakub Kicinski <[email protected]>
Tested-by: Vladimir Oltean <[email protected]> # flexcan
Signed-off-by: Yunsheng Lin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions