Re: Bugs in usb-skeleton.c??? :)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 >> Does kmalloc always allocate pages that can be used in DMA?

 AvdV> normally yes. HOWEVER....

I use sh4 cpu...

 AvdV> ..it is nicer to use the DMA allocation API (which internally may fall
 AvdV> back to kmalloc etc), while kmalloc may work, it can be quite slow in
 AvdV> how it's made to work. So it's just nicer to just use the DMA memory
 AvdV> allocators... (see Documentation/DMA-API.txt file for a description of
 AvdV> this)

Thanks, I'll try it.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux