diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2021-06-22 14:49:55 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-23 12:17:35 -0700 |
commit | dd25296afaf60b5140ddfa9e3d8e5d9df7076754 (patch) | |
tree | b40d4c10c3406f24480ee664c88f138aa1e3b569 /net/core | |
parent | 38f75922a6905b010f597fc70dbb5db28398728e (diff) | |
download | linux-dd25296afaf60b5140ddfa9e3d8e5d9df7076754.tar.bz2 |
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 <kuba@kernel.org>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com> # flexcan
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions