diff options
author | Eric Dumazet <edumazet@google.com> | 2021-10-19 03:34:02 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-10-20 01:40:50 +0300 |
commit | 97604c65bcda4b0e953cb86dae5335632e199f94 (patch) | |
tree | c537f20d39115173ba86b34a8bee45037ac66059 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 4c57e2fac41cefa49583b9836677e5b59cbe9f64 (diff) | |
download | linux-97604c65bcda4b0e953cb86dae5335632e199f94.tar.xz |
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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions