From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751916AbdHAMwg (ORCPT ); Tue, 1 Aug 2017 08:52:36 -0400 Received: from merlin.infradead.org ([205.233.59.134]:60816 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751101AbdHAMwf (ORCPT ); Tue, 1 Aug 2017 08:52:35 -0400 Date: Tue, 1 Aug 2017 14:52:26 +0200 From: Peter Zijlstra To: Will Deacon Cc: "Paul E. McKenney" , Boqun Feng , linux-kernel@vger.kernel.org, Ingo Molnar , Thomas Gleixner , Randy Dunlap Subject: Re: [RFC][PATCH v3]: documentation,atomic: Add new documents Message-ID: <20170801125226.undc24ek5d6y46d4@hirez.programming.kicks-ass.net> References: <20170612144929.3wiwtbqopsfpm3qk@hirez.programming.kicks-ass.net> <20170726115328.2sxiitivlnlq64dk@hirez.programming.kicks-ass.net> <20170726124750.vktrn5zi2gmpzfru@tardis> <20170731090535.rjgnoewqg7mhzr55@hirez.programming.kicks-ass.net> <20170731110403.ou3zqsp3uviqorkz@tardis> <20170731174345.GL3730@linux.vnet.ibm.com> <20170801090121.edo7mekhw3sann4h@hirez.programming.kicks-ass.net> <20170801101900.GB8702@arm.com> <20170801114744.evjjfviqhu5kgu7v@hirez.programming.kicks-ass.net> <20170801121713.GH8702@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170801121713.GH8702@arm.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 01, 2017 at 01:17:13PM +0100, Will Deacon wrote: > Also, wouldn't this problem also arise if your atomics were built using a > spinlock where unlock had release semantics? I'm hoping none of our spnilock based atomics have weak ordering. Spinlock based atomics are a little crazy to begin with, making them weak *shudder*.