summaryrefslogtreecommitdiff
path: root/include/kunit/static_stub.h
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin.berg@intel.com>2024-07-03 12:58:57 +0300
committerJohannes Berg <johannes.berg@intel.com>2024-07-04 13:50:05 +0200
commita2ed933dfefac8976ac915e1b1b60028b9c344b3 (patch)
tree49137b67833e9257ebde5a3d1f3696a30535a99d /include/kunit/static_stub.h
parent1a3364e963989dbcd1465dd8e94d9c5babd3474a (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 <benjamin.berg@intel.com> Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20240703125541.2a81021d49ac.I53698ae92fb75a0461d41176db115462cf8be1cd@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/kunit/static_stub.h')
0 files changed, 0 insertions, 0 deletions