diff options
| author | Eric Dumazet <edumazet@google.com> | 2024-04-18 10:32:38 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2024-04-19 13:34:07 +0300 |
| commit | 7253c1d1e7a52504ffd08138e9843d0a80788690 (patch) | |
| tree | 60d373481145b86da0fc8b8fdc9728cd7f9afda3 /tools/perf/scripts/python/gecko.py | |
| parent | 8eb54a421a625a7797549d7bdad3f6c70c49180c (diff) | |
| download | linux-7253c1d1e7a52504ffd08138e9843d0a80788690.tar.xz | |
net_sched: sch_choke: implement lockless choke_dump()
Instead of relying on RTNL, choke_dump() can use READ_ONCE()
annotations, paired with WRITE_ONCE() ones in choke_change().
v2: added a WRITE_ONCE(p->Scell_log, Scell_log)
per Simon feedback in V1
Removed the READ_ONCE(q->limit) in choke_enqueue()
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
