Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1044010imu; Fri, 11 Jan 2019 14:00:12 -0800 (PST) X-Google-Smtp-Source: ALg8bN4B5WlcrPi4WyxkCn4DkfrdXW5FvXAWBXMt2XiUZeqW5NM/KcmQFfX0OS0i7AYec/Rxut2f X-Received: by 2002:a62:da5a:: with SMTP id w26mr16223227pfl.106.1547244012129; Fri, 11 Jan 2019 14:00:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547244012; cv=none; d=google.com; s=arc-20160816; b=xB26FKtLrGc0l/3jD3SHUcz1XOcfv0VwsSWnmkaKFmjP8JiMENiiPR+LXcb1BKIxOI 7cUJ4hGRYxsjC94CWN57O7oHdVVlkn8WOVE5zbJAL0JINOFjLuIkO0dnM4mNCM9KjaFH 5YZIgpUaUe5EqLQN7S9b5xbjdoZG/bykfmPwSEOZ6zGib1S27WfzfY0yyTci69Ug8VEE LeNB7AbjP/UTAFvApDBMnlqGN+97105UcQs3tWukJYxcKRPsPmTdJv6u1gmB6u6Axfib d46za88DKTU8PyqlYurFodAnaULbhP1h3GIfNRQmZoYd7NvC7ecJ3XUZN1jprEw80e2s GjOQ== 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=QEzMRIy0md8voUfmJxxc1yUteCg+SJn3uXcNkmuehxA=; b=H8Tk8j1KxXIzmLPavckqmthhJcIhXGR3tQF4xFl5b5sYFtOIAh/dF4khhUc9j90f0z QC2xE8kzBiTBWlLBJc77Vsiomel7rSFsFuWTNUZnNj2TKxTBXE8AN0aZDFbsZShiPDH0 B0IrwYLhm08XwoI+0eOzpf/YHSAtwOJ6Kt1Gy0YS5UhzXhtwd/yLCuzJ3279fW/6QYvi tWJsGOuAEOId9wDCd43vH1jtVYN3elJLxs4O6yJKgENcu7Sjg4efAaed3H1BRMiay9z3 dsuv6vFJhJ95puAM2jnLOLyXx/OlPRNWlxL8gx96jErkm9SdnLR1nUHSSLPee0eto4a6 /0Vg== 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 s35si41757409pgk.392.2019.01.11.13.59.56; Fri, 11 Jan 2019 14:00:12 -0800 (PST) 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 S1726529AbfAKV5T (ORCPT + 99 others); Fri, 11 Jan 2019 16:57:19 -0500 Received: from iolanthe.rowland.org ([192.131.102.54]:44874 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1726471AbfAKV5T (ORCPT ); Fri, 11 Jan 2019 16:57:19 -0500 Received: (qmail 7675 invoked by uid 2102); 11 Jan 2019 16:57:17 -0500 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 11 Jan 2019 16:57:17 -0500 Date: Fri, 11 Jan 2019 16:57:17 -0500 (EST) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: "Paul E. McKenney" cc: Andrea Parri , , , , , , , , , , , , Subject: Re: [PATCH RFC LKMM 7/7] tools/memory-model: Dynamically check SRCU lock-to-unlock matching In-Reply-To: <20190111214446.GL1215@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 Fri, 11 Jan 2019, Paul E. McKenney wrote: > On Fri, Jan 11, 2019 at 12:20:45AM +0100, Andrea Parri wrote: > > > > I'm not all that exited about spreading version requirements in the > > > > source: we report this requirement in our README, and apparently we > > > > already struggle to keep this information up-to-date. So what about > > > > squashing something like the below (assume that 7.52 will be released > > > > by the time this patch hit mainline; if this won't be the case, we > > > > may consider using the development version 7.51+6)? notice that this > > > > also removes an (obsolete, at this point) comment from lock.cat. > > > > > > Sounds like a very good point to me! > > > > > > Should have pointers in the various files to the README file? Or maybe > > > get people used to using scripting that checks versions? Or maybe > > > after answering questions for some time, people will get used to > > > checking versions? > > > > As discussed off-list: I have no strong opinion on this regard, well, > > except that I think we ought to fix the README, somehow (consider my > > diff below as a first proposal). Akira actually preceded me on this > > and suggested another solution [1]. > > > > Andrea > > > > [1] http://lkml.kernel.org/r/04d15c18-d210-e3da-01e2-483eff135cb7@gmail.com > > My concern with this approach is that it seems to me to implicitly promise > that herd will provide backwards compatibility, which is a real pain to > test, let alone to provide. Yes, the latest version of herd probably > supports latest mainline, but will five-years-from-now herd work correctly > on the .bell, .cat, and .def files from current mainline? The README file can say something along the lines of: Herd version 7.52 (later versions may or may not be compatible). Herd can be downloaded from... Alan