Re: [PATCH] staging: comedi: use dma_mmap_coherent for DMA-able buffer mmap

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

 



On 25/06/2019 13:06, Christoph Hellwig wrote:

 From the DMA point of view this looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>

Thanks!

I still think that doing that SetPageReserved + remap_pfn_range
dance for the normal memory allocations is a bad idea.  Just use
vm_insert_page on the page, in which case it doesn't need to be
marked as Reserved.

Thanks for the hint.  I'll take a look at that.

--
-=( Ian Abbott <abbotti@xxxxxxxxx> || Web: www.mev.co.uk )=-
-=( MEV Ltd. is a company registered in England & Wales. )=-
-=( Registered number: 02862268.  Registered address:    )=-
-=( 15 West Park Road, Bramhall, STOCKPORT, SK7 3JZ, UK. )=-
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux