summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/mt76/usb.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-07-24 14:43:49 +0200
committerFelix Fietkau <nbd@nbd.name>2020-09-24 18:10:18 +0200
commit30bdd69246ea9726a7688ef02c60b1ec0ae66d38 (patch)
tree9b5e8b981a82f67f79ec4bd7fd5f1584b5939cfd /drivers/net/wireless/mediatek/mt76/usb.c
parent9729ff4cc516cb88e47cda0eff4eaf95e73c5a06 (diff)
mt76: add utility functions for deferring work to a kernel thread
In order to avoid keeping work like tx scheduling pinned to the CPU it was scheduled from, it makes sense to switch from tasklets to kernel threads. Unlike a workqueue, this one only allows one fixed worker function to be executed by the worker thread. Because of that, there is less locking and less code for scheduling involved. This is important because the tx worker is scheduled often in a hot path Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/usb.c')
0 files changed, 0 insertions, 0 deletions