Messages in this thread | | | Subject | Re: Bugs in usb-skeleton.c??? :) | From | Arjan van de Ven <> | Date | Thu, 13 Jul 2006 13:58:37 +0200 |
| |
On Thu, 2006-07-13 at 15:26 +0400, Sergej Pupykin wrote: > Hello, All! > > As I understand, USB subsystem uses urb->transfer_buffer directly with > DMA. I see that usb-skeleton.c and (at least) bluez's hci_usb allocates it > without GFP_DMA flag. (skeleton with GFP_KERNEL, bluez with GFP_ATOMIC)
Hi,
I think GFP_DMA means something different than that you think it means. GFP_DMA is a bad old hack that means "this is for ISA bus cards to DMA to/from". Since there are no ISA bus USB controllers... the USB code doesn't need to use GFP_DMA.
Greetings, Arjan van de Ven
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |