Hi Steven, On Thu, Sep 28, 2017 at 12:34:02PM -0500, Steven J. Hill wrote: > From: Chad Reese <kreese@xxxxxxxxxxxxxxxxxx> > > Flushing the writes lets other CPUs waiting for the lock to get it > sooner. > > Signed-off-by: Chad Reese <kreese@xxxxxxxxxxxxxxxxxx> > Signed-off-by: David Daney <david.daney@xxxxxxxxxx> I think this needs your SOB too. Cheers James > --- > arch/mips/include/asm/bitops.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/mips/include/asm/bitops.h b/arch/mips/include/asm/bitops.h > index fa57cef..da1b871 100644 > --- a/arch/mips/include/asm/bitops.h > +++ b/arch/mips/include/asm/bitops.h > @@ -456,6 +456,7 @@ static inline void __clear_bit_unlock(unsigned long nr, volatile unsigned long * > { > smp_mb__before_llsc(); > __clear_bit(nr, addr); > + nudge_writes(); > } > > /* > -- > 2.1.4 > >
Attachment:
signature.asc
Description: Digital signature