Re: virt_to_page/pci_map_page vs. pci_map_single
From: Anton Blanchard
Date: Wed Nov 05 2003 - 11:29:34 EST
> 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.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/