[PATCH 6/8] lazy tlb: shoot lazies, a non-refcounting lazy tlb option

Peter Zijlstra peterz at infradead.org
Mon Nov 30 20:34:17 AEDT 2020


On Mon, Nov 30, 2020 at 10:30:00AM +0100, Peter Zijlstra wrote:
> On Sat, Nov 28, 2020 at 07:54:57PM -0800, Andy Lutomirski wrote:
> > This means that mm_cpumask operations won't need to be full barriers
> > forever, and we might not want to take the implied full barriers in
> > set_bit() and clear_bit() for granted.
> 
> There is no implied full barrier for those ops.

Neither ARM nor Power implies any ordering on those ops. But Power has
some of the worst atomic performance in the world despite of that.

IIRC they don't do their LL/SC in L1.


More information about the Linuxppc-dev mailing list