Re: Buffer allocation for USB transfers

From: Oliver Neukum
Date: Thu Jan 15 2009 - 08:31:45 EST


Am Wednesday 14 January 2009 19:58:44 schrieb Christian Eggers:
> For some reason the second example (kmalloc()) doesn't seem to cause problems (on
> my platform) but is there are guarantee that kmalloc()
> without GFP_DMA does always return a DMA capable buffer?

We depend on memory returned for GFP_KERNEL capable of DMA on PCI.
GFP_DMA is for ISA dma.

Regards
Oliver

--
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/