[RFC 1/3] powerpc: __copy_tofrom_user tweaked for Cell

Sanjay Patel sanjay3000 at yahoo.com
Fri Jun 20 02:13:09 EST 2008




--- On Thu, 6/19/08, Gunnar von Boehn <VONBOEHN at de.ibm.com> wrote:

> You are right the main copy2user requires that the SRC is
> cacheable.
> IMHO because of the exception on load, the routine should
> fallback to the
> byte copy loop.
> 
> Arnd, could you verify that it works on localstore?

Since the main loops use 'dcbz', the destination must also be cacheable. IIRC, if the destination is write-through or cache-inhibited, the 'dcbz' will cause an alignment exception. I suppose it would still function correctly via the handler, but horribly slowly.

--Sanjay




      



More information about the Linuxppc-dev mailing list