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

From: Robert Hancock
Date: Sat Jun 03 2006 - 19:52:05 EST


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.

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/

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