]> git.baikalelectronics.ru Git - kernel.git/commit
net: qrtr: Remove receive worker
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 14 Jan 2020 07:57:03 +0000 (23:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2020 02:36:42 +0000 (18:36 -0800)
commit391c765194984000965181510c31934381ff6f64
treeba463e19d9889d88d6e1d454d5626a4b38188253
parente42c01233675b9f07134b69fd7776eb642c7a643
net: qrtr: Remove receive worker

Rather than enqueuing messages and scheduling a worker to deliver them
to the individual sockets we can now, thanks to the previous work, move
this directly into the endpoint callback.

This saves us a context switch per incoming message and removes the
possibility of an opportunistic suspend to happen between the message is
coming from the endpoint until it ends up in the socket's receive
buffer.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/qrtr/qrtr.c