>
> P.S. Malloc usually returns 16-byte aligned stuff. (At least when I
> wrote the darn thing :-)
>
Maybe, but kmalloc() does not. 16-byte-alignment means an address like
0xyyyy0, the last digit zero. this is not returned by kmalloc(). I had the
problem of aligned memory in conjunction with DMA scripts - I do also with
the two-pointer-method. allocation one, advancing the second to an aligned
address, use it, and then free the first pointer.
Best regards,
Emanuel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html