From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755452AbcBBOyM (ORCPT ); Tue, 2 Feb 2016 09:54:12 -0500 Received: from unicorn.mansr.com ([81.2.72.234]:47600 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752186AbcBBOyK convert rfc822-to-8bit (ORCPT ); Tue, 2 Feb 2016 09:54:10 -0500 From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Ralf Baechle Cc: Linus Torvalds , Paul McKenney , Boqun Feng , Will Deacon , Peter Zijlstra , "Maciej W. Rozycki" , David Daney , James Hogan , Linux Kernel Mailing List Subject: Re: [RFC][PATCH] mips: Fix arch_spin_unlock() References: <20160128095718.GC30928@arm.com> <20160128223131.GV4503@linux.vnet.ibm.com> <20160129095958.GA4541@arm.com> <20160129102253.GG4503@linux.vnet.ibm.com> <20160201135621.GD6828@arm.com> <20160202035458.GF6719@linux.vnet.ibm.com> <20160202051904.GC1239@fixme-laptop.cn.ibm.com> <20160202064433.GG6719@linux.vnet.ibm.com> <20160202144932.GA30875@linux-mips.org> Date: Tue, 02 Feb 2016 14:54:06 +0000 In-Reply-To: <20160202144932.GA30875@linux-mips.org> (Ralf Baechle's message of "Tue, 2 Feb 2016 15:49:32 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ralf Baechle writes: > On Tue, Feb 02, 2016 at 12:19:04AM -0800, Linus Torvalds wrote: > >> Memory ordering is confusing enough as it is. We should not make >> people worry more than they already have to. Strong rules are good. > > Confusing and the resulting bugs can be very hard to debug. > > One of the problems I've experienced is that Linux does support liberal > memory ordering, even as extreme as the Alpha. We don't really have much choice given the reality of existing hardware. -- Måns Rullgård