diff options
author | Eric Dumazet <edumazet@google.com> | 2024-04-18 10:32:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-19 13:34:07 +0300 |
commit | 01daf66b791e1ddd1a4aae2a65ea65fa1d4a96ef (patch) | |
tree | 8649e339c08c3443377e9e6f249bde23f8732167 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c5f1dde7f731e7bf2e7c169ca42cb4989fc2f8b9 (diff) | |
download | linux-01daf66b791e1ddd1a4aae2a65ea65fa1d4a96ef.tar.xz |
net_sched: sch_fifo: implement lockless __fifo_dump()
Instead of relying on RTNL, __fifo_dump() can use READ_ONCE()
annotations, paired with WRITE_ONCE() ones in __fifo_init().
Also add missing READ_ONCE(sh->limit) in bfifo_enqueue(),
pfifo_enqueue() and pfifo_tail_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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions