Re: [PATCH v2 3/3] net: mhi: Add dedicated alloc thread

2020-12-15 Thread Loic Poulain
Hi Jakub, On Mon, 14 Dec 2020 at 20:47, Jakub Kicinski wrote: > > On Mon, 14 Dec 2020 10:19:07 +0100 Loic Poulain wrote: > > On Sat, 12 Dec 2020 at 21:55, Jakub Kicinski wrote: > > > On Thu, 10 Dec 2020 12:15:51 +0100 Loic Poulain wrote: > > > > The buffer allocation for RX path is currently don

Re: [PATCH v2 3/3] net: mhi: Add dedicated alloc thread

2020-12-14 Thread Jakub Kicinski
On Mon, 14 Dec 2020 10:19:07 +0100 Loic Poulain wrote: > On Sat, 12 Dec 2020 at 21:55, Jakub Kicinski wrote: > > On Thu, 10 Dec 2020 12:15:51 +0100 Loic Poulain wrote: > > > The buffer allocation for RX path is currently done by a work executed > > > in the system workqueue. The work to do is qu

Re: [PATCH v2 3/3] net: mhi: Add dedicated alloc thread

2020-12-14 Thread Loic Poulain
Hi Jakub, On Sat, 12 Dec 2020 at 21:55, Jakub Kicinski wrote: > > On Thu, 10 Dec 2020 12:15:51 +0100 Loic Poulain wrote: > > The buffer allocation for RX path is currently done by a work executed > > in the system workqueue. The work to do is quite simple and consists > > mostly in allocating and

Re: [PATCH v2 3/3] net: mhi: Add dedicated alloc thread

2020-12-12 Thread Jakub Kicinski
On Thu, 10 Dec 2020 12:15:51 +0100 Loic Poulain wrote: > The buffer allocation for RX path is currently done by a work executed > in the system workqueue. The work to do is quite simple and consists > mostly in allocating and queueing as much as possible buffers to the MHI > RX channel. > > It app

[PATCH v2 3/3] net: mhi: Add dedicated alloc thread

2020-12-10 Thread Loic Poulain
The buffer allocation for RX path is currently done by a work executed in the system workqueue. The work to do is quite simple and consists mostly in allocating and queueing as much as possible buffers to the MHI RX channel. It appears that using a dedicated kthread would be more appropriate to pr