diff options
author | Zong-Zhe Yang <kevin_yang@realtek.com> | 2022-11-29 16:31:26 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2022-12-01 13:04:26 +0200 |
commit | 860e8263ae92667a2002163886fd2ebd8c67f699 (patch) | |
tree | 17efb9a928303432b865edf5308446362f678b46 /tools/perf/scripts/python/task-analyzer.py | |
parent | 38f25dec521edfa289fa0b829676927b13fede91 (diff) |
wifi: rtw89: check if atomic before queuing c2h
Before queuing C2H work, we check atomicity of the C2H's handler first now.
If atomic or lock-free, handle it directly; otherwise, handle it with mutex
in work as previous. This prepares for MAC MCC C2Hs which require to be
processed directly. And, their handlers will be functions which can be
considered atomic.
Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221129083130.45708-3-pkshih@realtek.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions