[PATCH] staging: comedi: use dma_mmap_coherent for DMA-able buffer mmap
Ian Abbott
abbotti at mev.co.uk
Tue Jun 25 13:25:35 UTC 2019
On 25/06/2019 13:06, Christoph Hellwig wrote:
>
> From the DMA point of view this looks good:
>
> Reviewed-by: Christoph Hellwig <hch at lst.de>
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 at mev.co.uk> || 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. )=-
More information about the devel
mailing list