On Mon, Jul 09, 2007 at 12:12:10PM +0300, Muli Ben-Yehuda wrote: > You missed an important bit of Keir's response---it's perfectly fine > to use alloc_pages provided you then use the dma_map_single API, which > for Xen dom0 will take care of bounce-buffering to a > machine-contiguous buffer if necessary. I am not sure if the same > holds for a domU kernel.
I'm not familiar with this stuff but dma_map_single is invoked via pci_map_page, isn't it? so alloc_pages and then pci_map_page is ok. But in mthca_memfree.c is alloc_pages and then pci_map_sg is used. Is it still OK? -- Lukáš Hejtmánek _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
