[PATCH] fixes for the SLB shadow buffer

Michael Neuling mikey at neuling.org
Thu Aug 2 19:28:15 EST 2007


> On Thu, 2007-08-02 at 19:03 +1000, Michael Neuling wrote:
> > > 
> > > Ok, that was missing from your description :-)
> > 
> > Sorry... so ditch the barriers? 
> 
> As you like. The reason why you can ditch them is purely because you
> know for sure that the only case the firmware will access those shadows
> from another CPU is that one and it happens to be just right. What are
> the chances that in the future, FW will do something different and
> nobody will "fix" the code ?

Yep, I might chat to some PHYP guys and see what they think.

> Considering that eieios are fairly cheap and it's not a very hot code
> path as far as I can tell, I'd rather keep them.

OK.  I'll keep them in for now and submit an optimisation patch later if
need be.

Mikey



More information about the Linuxppc-dev mailing list