summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorP Praneesh <quic_ppranees@quicinc.com>2024-12-23 09:01:23 +0300
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2025-01-26 21:41:29 +0300
commitcf544270c7392af1dc3a3bf405b902f3b9d3f925 (patch)
tree908ee5bb599a97aae86a0af614982435852dc1f5 /tools/perf/scripts/python/export-to-sqlite.py
parent39f1d751d2ae7050ad9b88560fc2042515dc88d5 (diff)
downloadlinux-cf544270c7392af1dc3a3bf405b902f3b9d3f925.tar.xz
wifi: ath12k: Restructure the code for monitor ring processing
Currently, monitor ring reaping and processing occur in the same loop, which requires holding ring locks until skb processing is complete. However, only the ring reaping part requires the ring lock; the skb processing part does not need it. This approach is problematic because it unnecessarily extends the duration for which the ring locks are held, leading to increased contention and potential backpressure issues. Fix it by holding ring locks only during the reaping phase, as skb processing does not require them. First, reap the monitor destination ring with the ring lock and queue the skbs into an skb list. Then, process the skbs in this list in a separate loop without holding the ring lock. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1 Tested-on: WCN7850 hw2.0 WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 Signed-off-by: P Praneesh <quic_ppranees@quicinc.com> Link: https://patch.msgid.link/20241223060132.3506372-6-quic_ppranees@quicinc.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions