Acceleration for map_copy_from on powerpc 512x

Kenneth Johansson kenneth at
Thu Oct 22 01:30:53 EST 2009

On Mon, 2009-10-19 at 09:52 +0200, Fortini Matteo wrote:

> I didn't find a cleaner way than just #ifdef'ing the map_copy_from call 
> and substitute with my call on relevant cases. I wonder if there is a 
> cleaner way.

Remove the call to simple_map_init() and do it manually in your driver
with your own functions.

> And yes, as soon as I've cleaned up the code a little bit, I will 
> definitely post a patch about it.
> Moreover: a huge benefit would come from exploiting DMA on these 
> transfers, 

probably depends on the block size if it's a gain or not. What is the
size you normally see. 

More information about the Linuxppc-dev mailing list