[PATCH] powerpc: tiny memcpy_(to|from)io optimisation
Wolfram Sang
w.sang at pengutronix.de
Fri Jun 12 03:07:30 EST 2009
On Wed, May 27, 2009 at 10:00:41PM +0200, Albrecht Dreß wrote:
> This trivial patch changes memcpy_(to|from)io as to transfer as many
> 32-bit words as possible in 32-bit accesses (in the current solution,
> the last 32-bit word was transferred as 4 byte accesses).
>
> Signed-off-by: Albrecht Dreß <albrecht.dress at arcor.de>
Besides the discussion about optimizing the loop, what about the patch itself?
Looks plausible to me...
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090611/0fb81c4d/attachment.pgp>
More information about the Linuxppc-dev
mailing list