Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8321714ybi; Thu, 6 Jun 2019 10:13:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbrDY9q5IKN49P5e/Mu90XoK7KZ/Diyz3lI/R+6Ii8VXLtg1xFqC+8Czx7Ju0n4l/C4gtC X-Received: by 2002:a17:902:bc83:: with SMTP id bb3mr28862057plb.56.1559841225562; Thu, 06 Jun 2019 10:13:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559841225; cv=none; d=google.com; s=arc-20160816; b=T02VaT6k1dqBN0BTU1e+EiN42/pINRfIzi8vhac9kBOdDK9uHfkSVehDxKLuTm0yIY pSt6AO/EW0qlU9O+G/nDhFQ7GJ0FlcRBV4dyfV/HIwGEjHhhLHtFBQN59oo4odcQVV3w dvo1Quc4esUt4j0X+gaxmIKl06qcFF93ebSNXYGFoqmzeI2LdKmKAQ5i6N1gg5D4l/6D uerZSjG4eyxySy90nPAM2Q3h3L6TljDD2H6DddY3Xod8aG7Bp6Ud0Fb14v3Fb2YXiQHF I7Uj8folGStKjc7fPvFizxpYRA9v9Wy0EeJTf0yWthaWP51+LfJYXJ/VUZ6/DKiViU/v qvcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to :subject:cc:to:from:date; bh=PhO41R6BRkkmg7jQn+oZnM2wUo+9QpdbFxbA/jJLIIE=; b=RXVwm+f7sZ2+ql7TDRpteT/W4zbanIp2zMpL2fefwpGleLSxM/nxXpI5ngYIZHaikd heLS3onWGCFJbFnfJoKwloHqSm25pJ3Sb+rc+0GFGitOJY8Kvgy7uXJif/JDzim44DWx Beu/b8oiQJXrn37Ikhj3Hd1m/3pzlNZRKe+6c1KWkPXCzxTIfd7QKyzX6gfcpN6wB2nv ibh+ng4N3GjGcirxSNrpHd8NVxYc7wDU2IAL34PuJxpVwDMNZK5k6vLxOI+gNBLjnmJN x+LDi5AyxHNZYn50LZ1fW5+l+mXZSXQOl7sa05i3cRtroiLN6gGpu89+1I6wXdZLNd3v xfIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b22si2262594pjo.46.2019.06.06.10.13.29; Thu, 06 Jun 2019 10:13:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728810AbfFFOTo (ORCPT + 99 others); Thu, 6 Jun 2019 10:19:44 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:51808 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1727961AbfFFOTo (ORCPT ); Thu, 6 Jun 2019 10:19:44 -0400 Received: (qmail 3016 invoked by uid 2102); 6 Jun 2019 10:19:43 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 6 Jun 2019 10:19:43 -0400 Date: Thu, 6 Jun 2019 10:19:43 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Andrea Parri cc: "Paul E. McKenney" , Boqun Feng , Herbert Xu , Linus Torvalds , Frederic Weisbecker , Fengguang Wu , LKP , LKML , Netdev , "David S. Miller" , Luc Maranget , Jade Alglave Subject: Re: rcu_read_lock lost its compiler barrier In-Reply-To: <20190606081657.GA4249@andrea> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 6 Jun 2019, Andrea Parri wrote: > This seems a sensible change to me: looking forward to seeing a patch, > on top of -rcu/dev, for further review and testing! > > We could also add (to LKMM) the barrier() for rcu_read_{lock,unlock}() > discussed in this thread (maybe once the RCU code and the informal doc > will have settled in such direction). Yes. Also for SRCU. That point had not escaped me. Alan