On Wed, Jan 13, 2021 at 1:53 AM Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote: > > From: Po-Hao Huang <phhuang@xxxxxxxxxxx> > > Move tx tasklet to thread, by this we can reduce time spent on > waiting for schedule and have better efficiency. > > Signed-off-by: Po-Hao Huang <phhuang@xxxxxxxxxxx> > Signed-off-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> I'm curious, why a bare kthread and not just a (WQ_HIGHPRI?) workqueue? It seems like you're sort of reimplementing some of the workqueue semantics with your SCHEDULED and RUNNING flags, when queue_work() would do that for you. Brian