diff options
author | Benjamin Berg <[email protected]> | 2024-07-03 12:58:57 +0300 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2024-07-04 13:50:05 +0200 |
commit | a2ed933dfefac8976ac915e1b1b60028b9c344b3 (patch) | |
tree | 49137b67833e9257ebde5a3d1f3696a30535a99d /drivers/usb/cdns3/cdns3-debug.h | |
parent | 1a3364e963989dbcd1465dd8e94d9c5babd3474a (diff) |
wifi: iwlwifi: release TXQ lock during reclaim
Much of the work during reclaim can be done without holding the TXQ
lock and releasing the lock means that command submission can happen at
the same time.
Add a new reclaim_lock to prevent parallel cleanup. Release the lock
while working with an internal copy of the txq->read_ptr and only take
the lock again when updating the read pointer after the cleanup is done.
Signed-off-by: Benjamin Berg <[email protected]>
Reviewed-by: Johannes Berg <[email protected]>
Signed-off-by: Miri Korenblit <[email protected]>
Link: https://patch.msgid.link/20240703125541.2a81021d49ac.I53698ae92fb75a0461d41176db115462cf8be1cd@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions