On 4/18/2017 9:27 PM, Jason Gunthorpe wrote:
+ } else if (sizeof(*dst_p) == 4) {
+ const __be32 *src_p = src;
+
+ do {
+ mmio_write32_be(dst_p++, *src_p++);
+ mmio_write32_be(dst_p++, *src_p++);
+ bytecnt -= 2 * sizeof(*dst_p);
Any reason not to write at least 64 bytes here before checking byte count
and looping again ?
icache size? I debated doing that, but the consensus of the existing
implementations seems to be against it..
We could do a 32 byte unwind which is probably a similar icache
footprint?
What would you like?
I'm fine with leaving the code as is following the existing implementation.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html