| Date | Wed, 19 Mar 2014 17:11:34 +0400 | Subject | Re: [PATCH 29/31] arch,xtensa: Convert smp_mb__* | From | Max Filippov <> |
| |
Hi Peter,
On Wed, Mar 19, 2014 at 10:47 AM, Peter Zijlstra <peterz@infradead.org> wrote: > Xtensa SMP has ll/sc which is fully serializing, therefore its exising
One minor correction: current xtensa ISA doens't have ll/sc, it only has cas (s32c1i instruction), which is fully serializing.
> smp_mb__{before,after}_clear_bit() appear unduly heavy. > > Implement the new barriers are barrier(). > > Signed-off-by: Peter Zijlstra <peterz@infradead.org> > --- > arch/xtensa/include/asm/atomic.h | 7 +------ > arch/xtensa/include/asm/barrier.h | 3 +++ > arch/xtensa/include/asm/bitops.h | 4 +--- > 3 files changed, 5 insertions(+), 9 deletions(-)
-- Thanks. -- Max
|