Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6328664ybv; Tue, 18 Feb 2020 14:45:38 -0800 (PST) X-Google-Smtp-Source: APXvYqyqi/l54JJjdT5295+zBQTZyf1t/5g0x/mFRwohhRDkrLx10y5M3kYaGaw+cBaA6mCOvE34 X-Received: by 2002:a9d:51ca:: with SMTP id d10mr17441031oth.76.1582065938226; Tue, 18 Feb 2020 14:45:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582065938; cv=none; d=google.com; s=arc-20160816; b=OjV88j5BoYemXzu4R2d0k0C0zxCjwS5D/LeU2Mu3ofKhIMgtTtkWtbmc3URfo1HLUe eupL4cpsElGm5cl3Eo5jqpOv5iAHwTVs77zRp8cjzDmP67yYSu4JLsh+qMUZniGPGJJh CV3Up18RhWpnBnKkyundI1MFldSVBpaTmyoM8SfchGjgIpIwr0oHPHXmrKIlCdgyWmb+ d4bQdqfKQcvEwOWKbHjhKqTZL9wuvFUOT2PnAHag4O7H94xATL8SS4Que45B6mOdPgbK vrz9NabyUtrcTk4ybAjlK4oN1cVG5uUD4WFnenv9HVDpBtDaO8gDnFyxLpFckwz9giFW 0tCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=9TNm341zBc1UG17QFGKC76ZQoiAtwIfyskNCEjvy/4I=; b=ARsBLk1CeIt/Q8+7LVgoz3rik80pcSUS1z485d/A8KmgpiqmhQfX6U4pfa0h4DZLfI CkFmMN2ugAgx3OzhkRAX5MF/HVOVncF1Y/+k0eDfC622YCHuXy71M8rdC9vWVUN5woan ojPa4fOLm3mIw1IwfgzZnCvBr8QWVGTFazf+wiP3FTzsh7DeV7nKBj3oPN0ujqUWJTsK Km9mHneex6Emy51sQs5xt7mz6/lFz42fDabvQ7xm/koL9Nkg9pmQQQ3lrqGpnhCohmUZ T77SApBqA7hK2VE4PzfPjLkiFPMkTVkeUEeAag54waRuHdMRz7OEl3a6Gwj1heX8jqSq bjuQ== 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 65si9401549oif.14.2020.02.18.14.45.25; Tue, 18 Feb 2020 14:45:38 -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 S1726691AbgBRWpH (ORCPT + 99 others); Tue, 18 Feb 2020 17:45:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:60396 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726438AbgBRWpH (ORCPT ); Tue, 18 Feb 2020 17:45:07 -0500 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2BB682173E; Tue, 18 Feb 2020 22:45:05 +0000 (UTC) Date: Tue, 18 Feb 2020 17:45:03 -0500 From: Steven Rostedt To: "Paul E. McKenney" Cc: Peter Zijlstra , rcu@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com, mingo@kernel.org, jiangshanlai@gmail.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, dhowells@redhat.com, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com, joel@joelfernandes.org Subject: Re: [PATCH tip/core/rcu 1/3] rcu-tasks: *_ONCE() for rcu_tasks_cbs_head Message-ID: <20200218174503.3d4e4750@gandalf.local.home> In-Reply-To: <20200218202226.GJ2935@paulmck-ThinkPad-P72> References: <20200215002446.GA15663@paulmck-ThinkPad-P72> <20200215002520.15746-1-paulmck@kernel.org> <20200217123851.GR14914@hirez.programming.kicks-ass.net> <20200217181615.GP2935@paulmck-ThinkPad-P72> <20200218075648.GW14914@hirez.programming.kicks-ass.net> <20200218162719.GE2935@paulmck-ThinkPad-P72> <20200218201142.GF11457@worktop.programming.kicks-ass.net> <20200218202226.GJ2935@paulmck-ThinkPad-P72> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 18 Feb 2020 12:22:26 -0800 "Paul E. McKenney" wrote: > On Tue, Feb 18, 2020 at 09:11:42PM +0100, Peter Zijlstra wrote: > > On Tue, Feb 18, 2020 at 08:27:19AM -0800, Paul E. McKenney wrote: > > > On Tue, Feb 18, 2020 at 08:56:48AM +0100, Peter Zijlstra wrote: > > > > > > I just took offence at the Changelog wording. It seems to suggest there > > > > actually is a problem, there is not. > > > > > > Quoting the changelog: "Not appropriate for backporting due to failure > > > being unlikely." > > > > That implies there is failure, however unlikely. > > > > In this particular case there is absolutely no failure, except perhaps > > in KCSAN. This patch is a pure annotation such that KCSAN can understand > > the code. > > > > Like said, I don't object to the actual patch, but I do think it is > > important to call out false negatives or to describe the actual problem > > found. > > I don't feel at all comfortable declaring that there is absolutely > no possibility of failure. Perhaps wording it like so: "There's know known issue with the current code, but the *_ONCE() annotations here makes KCSAN happy, allowing us to focus on KCSAN warnings that can help bring about known issues in other code that we can fix, without being distracted by KCSAN warnings that we do not see a problem with." ? -- Steve