Re: [PATCH] net/usb: kalmia: Various fixes for better support of non-x86 architectures.

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

 



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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux