Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp649025yba; Wed, 24 Apr 2019 07:26:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyqHabnGAor7UpMWdzB+kDjfcfxsVqy4E2Fql/KmBM4+o0gUQMAGMbUK3a3R1zadP+tQ8gb X-Received: by 2002:a17:902:9687:: with SMTP id n7mr33182574plp.105.1556115994649; Wed, 24 Apr 2019 07:26:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556115994; cv=none; d=google.com; s=arc-20160816; b=WGh+G9gQQNFAsyQ251kUhdk2xT9CSP6+mnlVFOfZnaUw6Mj4DWPsPWJbQdUcH9ou8b DauDPHv8lrQkb6U3TrFlLUNTyJLb26YxZrKnwON6VhHVRmeGcOboHgPppBts5z9nEoea /imiGzflL5X2Ka1TixxOG2KxmGago7PXglx4lyNr20UhMtDSE8PEyvcG8t4BN9M5Gmxd 7+4nDcRRNWOeQyCxBI2Bvn6vxjOnO4Tu1zWHFhxzOuIT1uL7Izmdd18suiFks06cSS4p F9PAL8erlfr7RtcYTTAoxOuJRBqDPkE53BSwE77Mltcm/pqvYN9N97v3yaMFPbxnTgH1 pJBg== 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=kC/1rkO0jEFMRJ6r4UsYUoVn0J7/bM401XOM0ExhBoc=; b=ATPRfX8f/NgJQkBeATkJJ8ZKMEkoMIaJX+Q7FMkszOvPBFJyTwiS/CqO6r+kV3h+Fy 9+8Y35N8+AMM/vymLNA/ddryPjyxI17t0T2+mNKCRzS3NUSpf7ndfEoF2JbBB7T3ndUL a9NEC92zrVewAA0UVTuerjZhozYkChh2afQSp762LUqltvfP8t/9LLvnU9F8o5Qau18Q OM+jcw6ndQQBG+Y9HW1e5pqhB0oe7cTOn8h24WDp42aHlRmn4hcduZp+llUtWJ3C3jNr vuLnNbEp0yFbSKhiebjvtv49x9hQrGl3j2oFj8WdtzMGJ2w+u4YWIpWoU2Z6wMYfEtJI F/mQ== 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 t1si18465996pgi.330.2019.04.24.07.26.19; Wed, 24 Apr 2019 07:26:34 -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 S1730624AbfDXOYo (ORCPT + 99 others); Wed, 24 Apr 2019 10:24:44 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:36858 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1726272AbfDXOYn (ORCPT ); Wed, 24 Apr 2019 10:24:43 -0400 Received: (qmail 2391 invoked by uid 2102); 24 Apr 2019 10:24:42 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 24 Apr 2019 10:24:42 -0400 Date: Wed, 24 Apr 2019 10:24:42 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: "Paul E. McKenney" cc: LKMM Maintainers -- Akira Yokosawa , Andrea Parri , Boqun Feng , Daniel Lustig , David Howells , Jade Alglave , Luc Maranget , Nicholas Piggin , Peter Zijlstra , Will Deacon , Kernel development list , Joel Fernandes Subject: Re: [PATCH 1/3] tools: memory-model: Prepare for data-race detection In-Reply-To: <20190424082231.GF3923@linux.ibm.com> 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 Wed, 24 Apr 2019, Paul E. McKenney wrote: > On Mon, Apr 22, 2019 at 12:17:45PM -0400, Alan Stern wrote: > > This patch makes some slight alterations to linux-kernel.cat in > > preparation for adding support for data-race detection to the > > Linux-Kernel Memory Model. > > > > The definitions of relations involved in Acquire, Release, and > > unlock-lock ordering are moved up earlier in the source file. > > > > The rmb relation is factored through the new R4rmb class: the > > class of reads to which rmb will apply. > > > > The definition of the fence relation is moved earlier, and it > > is split up into read- and write-fences (rmb and wmb) and all > > the others. > > > > This should not make any functional changes. > > > > Signed-off-by: Alan Stern > > Thank you, Alan, I have queued all three onto -rcu for review and testing. > FYI, I rebased my smp_mb__{before,after}_atomic() patch on top of yours > to avoid the conflict. > > Which demonstrates non-commutativity of patches. Your patches conflict > with mine, but mine does not conflict with yours. ;-) :-) Besides, who knows where we'll end up with the smp_mb__{before,after}_atomic stuff once Peter is done with it, anyway? Alan