Re: [rfc][patch] powerpc: replace isync with lwsync

2008-11-03 Thread Nick Piggin
On Mon, Nov 03, 2008 at 04:32:22PM +1100, Paul Mackerras wrote: Nick Piggin writes: This is an interesting one for me. AFAIKS it is possible to use lwsync for a full barrier after a successful ll/sc operation, right? (or stop me here if I'm wrong). An lwsync would order subsequent

Re: [rfc][patch] powerpc: replace isync with lwsync

2008-11-02 Thread Paul Mackerras
Nick Piggin writes: This is an interesting one for me. AFAIKS it is possible to use lwsync for a full barrier after a successful ll/sc operation, right? (or stop me here if I'm wrong). An lwsync would order subsequent loads after the lwarx/ldarx, and subsequent stores after the stcwx./stcdx.,

[rfc][patch] powerpc: replace isync with lwsync

2008-11-01 Thread Nick Piggin
Hi guys, This is an interesting one for me. AFAIKS it is possible to use lwsync for a full barrier after a successful ll/sc operation, right? (or stop me here if I'm wrong). Anyway, I was interested in exploring this. Unfortunately my G5 might not be very indicative of more modern, and future