Search Linux Wireless

Re: [RFC PATCH 13/17] zd1211rw: use stack for small cmd-buffers

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

 



Quoting Dan Williams <dcbw@xxxxxxxxxx>:

On Wed, 2011-01-05 at 10:27 +0100, Johannes Berg wrote:
On Wed, 2011-01-05 at 01:49 +0200, Jussi Kivilinna wrote:
> Use stack for allocing small < 64 byte arrays.

I don't think this is valid -- DMA memory can't be from the stack.

Oh, my reply to Johannes didn't go to list.


It's almost certainly not valid.  You'll get BUGs from the kernel in
this case, though it'll still probably work.

Ok, will not use stack for urb transfer_buffers.

-Jussi

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux