diff options
author | Eric Dumazet <edumazet@google.com> | 2021-10-18 17:34:02 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-10-19 15:40:50 -0700 |
commit | 97604c65bcda4b0e953cb86dae5335632e199f94 (patch) | |
tree | c537f20d39115173ba86b34a8bee45037ac66059 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4c57e2fac41cefa49583b9836677e5b59cbe9f64 (diff) |
net: sched: remove one pair of atomic operations
__QDISC_STATE_RUNNING is only set/cleared from contexts owning qdisc lock.
Thus we can use less expensive bit operations, as we were doing
before commit f9eb8aea2a1e ("net_sched: transform qdisc running bit into a seqcount")
Fixes: 29cbcd858283 ("net: sched: Remove Qdisc::running sequence counter")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Ahmed S. Darwish <a.darwish@linutronix.de>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Tested-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions