Re: memcpy_toio on i386 using byte writes even when n%2==0

From: H. Peter Anvin
Date: Sat Jun 03 2006 - 21:06:44 EST


Robert Hancock wrote:
H. Peter Anvin wrote:
For something that generates I/O transactions, it's imperative to
generate the smallest possible number of transactions. Furthermore,
smaller than dword transactions aren't burstable, except at the
beginning and end of a burst.

Well, theoretically for writes they could be, if the memory region was prefetchable and the PCI chipset supported byte merge. It certainly isn't optimal however.


If so, then merging doesn't matter either way.

-hpa
-
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/