Re: [PATCH v2] can: gs_usb: remove dma allocations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20.09.2022 11:47:24, Rhett Aultman wrote:
> From: Vasanth Sadhasivan <vasanth.sadhasivan@xxxxxxxxxxx>
> 
> DMA allocated buffers are a precious resource. If there is no need for DMA 
> allocations, then it might be worth to use non-dma allocated buffers. 
> After testing the gs_usb driver with and without DMA allocation, there 
> does not seem to be a significant change in latency or cpu utilization 
> either way. Therefore, DMA allocation is not necessary and removed. 
> Internal buffers used within urbs were managed and freed manually. These 
> buffers are no longer needed to be managed by the driver. The 
> URB_FREE_BUFFER flag, allows for the buffers in question to 
> be automatically freed.
> 
> Co-developed-by: Rhett Aultman <rhett.aultman@xxxxxxxxxxx>
> Signed-off-by: Rhett Aultman <rhett.aultman@xxxxxxxxxxx>
> Signed-off-by: Vasanth Sadhasivan <vasanth.sadhasivan@xxxxxxxxxxx>

Applied to linux-can.

Thanks,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux