Hello. On 24-06-2011 9:42, Oliver Neukum wrote:
Actually 'const' alone should've been enough for the variable to be placed in the data section ISO stack.
I don't understand what "ISO stack" means here.
ISO == instead of.
That doesn't matter. If you are sufficiently unlucky it will land on a page boundary. You must not do DMA on the data section either.
Who said it was going to do DMA on the data section? The arrays got copied to heap-allocated buffer before DMA. But allocating those arrays on stack was not optimal anyway.
Regards Oliver
WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html