kmalloc vs pci_alloc_consistent

Matt Porter mporter at kernel.crashing.org
Sat Jul 19 02:13:22 EST 2003


On Fri, Jul 18, 2003 at 08:34:24AM -0500, Johnson, Stephen wrote:
>
> I don't know the history behind pci_alloc and wanted to throw this out there
> to get some clarification.
>
> What's the benefit of pci_alloc over using kmalloc with flags for a
> cache-safe buffer?

Documentation/DMA-mapping.txt has a detailed explanation of the API.

Regards,
--
Matt Porter
mporter at kernel.crashing.org

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list