> After I posted this patch, I was told that there is yet another > constraint on the page list: The buffer containing the list must not > cross a page boundary. So I was thinking what is the best way to deal > with this. One way is to always allocate a whole page and map it using > dma_map_page(page, DMA_TO_DEVICE), something like this (not a complete > patch, just the idea).
Is there any chance of the dma_alloc_coherent() in the current code allocating memory that crosses a page boundary? - R. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
