From: Michael Ellerman Subject: Re: [PATCH 00/20] Remove Mysterious Macro Intended to Obscure Weird Behaviours (mmiowb()) Date: Sat, 02 Mar 2019 23:56:44 +1100 Message-ID: <871s3pjuyb.fsf@concordia.ellerman.id.au> References: <20190301140348.25175-1-will.deacon@arm.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Linus Torvalds , Will Deacon Cc: linux-arch , Linux List Kernel Mailing , "Paul E. McKenney" , Benjamin Herrenschmidt , Arnd Bergmann , Peter Zijlstra , Andrea Parri , Palmer Dabbelt , Daniel Lustig , David Howells , Alan Stern , "Maciej W. Rozycki" , Paul Burton , Ingo Molnar , Yoshinori Sato , Rich Felker , Tony Luck List-Id: linux-arch.vger.kernel.org Linus Torvalds writes: > Love the acronym, and the series looks good to me. > > Michael - can you check (or maybe you already did?) that this works > for ppc too, and doesn't have any gotcha's? Yeah it looks fine to me. I gave it a quick boot with a patch to count how many mb()s we actually issue in the spin_unlock() path and it's definitely hitting that path correctly. So it works at least as well as the old code. cheers