cache coherence problem
    Benjamin Herrenschmidt 
    benh at kernel.crashing.org
       
    Tue Nov 18 16:24:10 EST 2003
    
    
  
On Tue, 2003-11-18 at 16:22, Benjamin Herrenschmidt wrote:
> On Tue, 2003-11-18 at 16:00, Juergen Kienhoefer wrote:
> > Guys,
> > Thank you very much for the ideas.
> > Basically, what I need to do is:
> > dcbst
> > sync
> > iccci
> ^^^^^^^
> No: icbi
>
> > sync
> > isync
> > for every 32 bytes of the memory block I put code in.
Actually, to be precise, you need:
 1) A loop of dcbst's over every cache line crossed by your code
 2) one sync
 3) A loop of icbi's over every cache line crossed by your code
 4) one sync, one isync
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
    
    
More information about the Linuxppc-dev
mailing list