summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorErik Stromdahl <erik.stromdahl@gmail.com>2019-06-17 22:01:40 +0200
committerKalle Valo <kvalo@codeaurora.org>2019-10-01 14:16:28 +0300
commit306547608c84378084d718be4cc1be03200aabfd (patch)
tree6f88bdf97d8cec396f6a4d4c5a985737bbdcd263 /tools/perf/scripts/python/export-to-postgresql.py
parent7b3087323faad85ee16f8f852810bb6500fefcb4 (diff)
ath10k: switch to ieee80211_tx_dequeue_ni
Since ath10k_mac_tx_push_txq() can be called from process context, we must explicitly disable softirqs before the call into mac80211. By calling ieee80211_tx_dequeue_ni() instead of ieee80211_tx_dequeue() we make sure softirqs are always disabled even in the case when ath10k_mac_tx_push_txq() is called from process context. Calling ieee80211_tx_dequeue_ni() with softirq's already disabled (e.g., from softirq context) should be safe as the local_bh_disable() and local_bh_enable() functions (called from ieee80211_tx_dequeue_ni) are fully reentrant. Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions