[rt2x00-users] [RFT] rt2x00: Use GFP_KERNEL for rx buffer allocation on USB devices
Helmut Schaa
helmut.schaa at googlemail.com
Wed Apr 18 23:36:12 EST 2012
On Wed, Apr 18, 2012 at 2:59 PM, Andreas Hartmann
<andihartmann at 01019freenet.de> wrote:
>> So, this workaround is only applicable to USB for now.
>
> Well, I asked, because the call
>
> skb = rt2x00queue_alloc_rxskb(&queue->entries[i], GFP_KERNEL);
>
> in rt2x00queue_alloc_rxskbs(struct data_queue *queue) statically uses
> GFP_KERNEL for both usb and pci. For pci, I would have expected GFP_ATOMIC.
>
> But this probably doesn't harm because it's only used once during device
> initialization.
Exactly :D
More information about the users
mailing list