Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752209AbdLDWjN (ORCPT ); Mon, 4 Dec 2017 17:39:13 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56898 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751718AbdLDWjL (ORCPT ); Mon, 4 Dec 2017 17:39:11 -0500 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20171204215448.GY3326@worktop> References: <20171204215448.GY3326@worktop> <1512157876-24665-1-git-send-email-paulmck@linux.vnet.ibm.com> <20171201195053.GA23494@linux.vnet.ibm.com> <15076.1512401936@warthog.procyon.org.uk> <20171204185215.GB7829@linux.vnet.ibm.com> To: Peter Zijlstra Cc: dhowells@redhat.com, "Paul E. McKenney" , linux-kernel@vger.kernel.org, mingo@kernel.org, jiangshanlai@gmail.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, rostedt@goodmis.org, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com Subject: Re: [PATCH tip/core/rcu 01/21] doc: READ_ONCE() now implies smp_barrier_depends() MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <27499.1512427145.1@warthog.procyon.org.uk> Date: Mon, 04 Dec 2017 22:39:05 +0000 Message-ID: <27500.1512427145@warthog.procyon.org.uk> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Mon, 04 Dec 2017 22:39:11 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 420 Lines: 14 Peter Zijlstra wrote: > > Good point! How about as shown in the updated patch below? > > Humm, I thought the idea was to completely remove read_barrier_depends > from the lkmm and memory-barriers.txt, making it an Alpha implementation > detail. memory-barriers.txt explains how the barriers used by the kernel work, amongst other things. Don't forget, btw, that Blackfin uses it also. David