Workaround for USB DMA bugs
Jeremy Rosen
Jeremy.Rosen at au.thalesgroup.com
Thu Apr 4 14:19:11 EST 2002
>I guess if we can ensure a DMA-only pool, simple alignment will work.
>You just can't kmalloc() because you don't know what may follow
something
>that isn't modulo cache line size. You also have to be careful of
code
>that allocates a large object, then uses part of it for DMA and other
>parts for processor core data. I'm not sure we want to require
kmalloc()
>to always cache align due to the potential for wasted memory space.
can't we use the __GFP_DMA flag to specify that the area must have
algnment enforced ?
or did I misunderstand the use of this flag ?
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list