On Tuesday 13 December 2005 1:49 pm, Vitaly Wool wrote:
> So you're turning this to be unsafe if the buffer is in use, right? Funny...
I have no idea what you mean by that comment. The parameters to that
function have always been documented as "will copy", and the two branches
(busy/not) differ only in _which_ buffer they use from the heap (the
fast pre-allocated one, or a freshly allocated scratch buffer). Heap
buffers are by definition DMA-safe.
- Dave
> David Brownell wrote:
>
> >This is an updated version of the patch from Mark Underwood, handling
> >the no-memory case better and using SLAB_KERNEL not SLAB_ATOMIC.
> >
>
-
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]