Skip to content
Commit 30bdd692 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

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: default avatarFelix Fietkau <nbd@nbd.name>
parent 9729ff4c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment