]> 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)
commit2ab29a1a76b433c7f51689196a28d0820183813b
treeba463e19d9889d88d6e1d454d5626a4b38188253
parent97fd2e172c988cba2feb82d8684af5c95a58911f
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