Messages in this thread | | | Date | Thu, 6 Nov 2003 03:23:31 +1100 | From | Anton Blanchard <> | Subject | Re: virt_to_page/pci_map_page vs. pci_map_single |
| |
> I really don't see what's to be gained by doing this. map_page is for > mapping one page or a fragment of it. It's designed for small zero copy > stuff, like networking. To get it to map more than one page, really we > should pass in an array of struct pages.
As an aside it would be nice if networking used the map_sg infrastructure for zero copy. Some architectures need to do things to make the DMA mapping visible to IO and at the moment we do it for each map_page.
Anton - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |