Re: [PATCH 4/4] MIPS: Branch straight to ll in mips_atomic_set()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 8 Jun 2017, James Hogan wrote:

> >  A PAUSE might be in order here.
> 
> Quite possibly, though I'm not sure its worth bothering to optimise this
> old/unused code.

 Well, given that...

> I had a patch somewhere to add PAUSE to spinlock loops...

... I advise doing it consistently throughout, so that someone does not 
copy-&-paste the wrong piece if nothing else.  On it's own I agree it 
would be quite odd to only have the least used piece optimised.

  Maciej




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux