Re: [PATCH v2 2/3] USB: ehci-tegra: fix inefficient copy of unaligned buffers

From: Stephen Warren
Date: Thu Apr 23 2015 - 16:32:37 EST


On 04/23/2015 08:06 AM, Johan Hovold wrote:
Make sure only to copy any actual data rather than the whole buffer,
when releasing the temporary buffer used for unaligned non-isochronous
transfers.

Compile-tested only.

Tested-by: Stephen Warren <swarren@xxxxxxxxxx>

(Tested a USB network device attached to Jetson TK1, with a large download, and ping packets of various sizes from another host)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/