aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorAnton Ivanov <[email protected]>2024-07-05 11:53:31 +0100
committerRichard Weinberger <[email protected]>2024-09-12 19:56:05 +0200
commit612a8c8e0b43ba7e3d0e51f6f76a5fec4912d439 (patch)
tree6adf0c626cbe8012f7bfd6c965a8807c8b9db59a /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parentec24b988eb26e21f37707d090ec3ab53c51fd386 (diff)
um: vector: Replace locks guarding queue depth with atomics
UML vector drivers use ring buffer structures which map preallocated skbs onto mmsg vectors for use with sendmmsg and recvmmsg. They are designed around a single consumer, single producer pattern allowing simultaneous enqueue and dequeue. Lock debugging with preemption showed possible races when locking the queue depth. This patch addresses this by removing extra locks, adding barriers and making queue depth inc/dec and access atomic. Signed-off-by: Anton Ivanov <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions