summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKarl Mehltretter <kmehltretter@gmail.com>2026-09-08 07:38:16 +0200
committerMichael S. Tsirkin <mst@redhat.com>2026-09-08 04:23:50 -0400
commit961d62a3c153d161ab5f617a49f409deb55d3111 (patch)
tree5bd0438622d2a0697db85197e54fec819df0fbf6 /tools/perf/scripts/python
parent96be137130c0a21b888bbfbac1808e5c22eca36f (diff)
downloadlinux-next-961d62a3c153d161ab5f617a49f409deb55d3111.tar.gz
linux-next-961d62a3c153d161ab5f617a49f409deb55d3111.zip
platform/mellanox: mlxbf-tmfifo: implement synchronize_cbs()
TmFIFO invokes virtqueue callbacks from its FIFO work item under spin_lock_irqsave(). The core's synchronize_rcu() fallback already covers those sections. Implement synchronize_cbs() using the existing per-direction locks instead of waiting for an RCU grace period. fifo->spin_lock[0] covers the transmit callbacks, including the callback from the timeout handler. fifo->spin_lock[1] covers the receive callbacks. Take and release each lock in turn to synchronize with callbacks running under that lock. Assisted-by: LLM Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <20260908053817.26065-6-kmehltretter@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions