Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1370286ybl; Fri, 16 Aug 2019 13:50:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+LuSL0DvWEeLOpJ0o+pxrtAN8dNNDfyC2flFmcNfICxmPbPzLd/42bnlsPmwItS2iubG8 X-Received: by 2002:a63:1045:: with SMTP id 5mr9239843pgq.165.1565988613335; Fri, 16 Aug 2019 13:50:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565988613; cv=none; d=google.com; s=arc-20160816; b=nmGO/fab3GMxfScZGdbAq+mRFXXF95zLx9Vq5zeioVuEjBahZ6+Be7SrFovpYPeJVb c1CHSplys3/nUbGUJOMKrZEqhDtJ9/i3PvzzxEjltf3CwcumFgwBrNRRg3mJEClhameB gq+WohctC0w+OsWeiToD27vQlzR+LlythRwo4yxRZVsz+Nu4xGgga2f1L8oJzR8OCc2a QEvFmyawZl1esHeIesKR1DTYsDNr5dFOr7cs2V+2zo4fsJSJbWhzqqMasFqrCQ2Yuan6 hmikKpfLPr1ZMiz2XP3MtDwiimEX/NLbgQfNH88AIo/4derAaz7ctegstjqRY07sWGDS KkYw== 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=1iiZ2X3KTerBSN97Ru3KCJPan53maNENS3ZGmpabP0Y=; b=gRpo8utehbQUSsZ2rrFCUAPtYNtNRhOxmGYIlIjbnNds0k5z+L8DsLpoSUWUMbYEFr m0aUMfEz/HlCW5SUu6qlkwMKHNWVjLZEi4Rv5BAfCYG4RorEsNm0q4eABBAK70Qf9+XI PVIP+ZdFSTpWYDr9c8NT4y+YDq3nnP8mmI01X7JyA3VZXEjbouHFzAZaJc9qe1tVlShe o3xY0Ua7ALGs8+FEUAszb3dw1FNkgLHvhqfZ0fCyJf/7JEPd0FnAO6JBfhO7q9GRUj4w Mf5XZObK1yMQA0r19AZ+ZSczvWT1U1CPRocjJDF5GisR15/Rh713GlHPJw8cQP71YgBR 56oA== 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 f2si4701182plt.386.2019.08.16.13.49.57; Fri, 16 Aug 2019 13:50:13 -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 S1727668AbfHPUtS (ORCPT + 99 others); Fri, 16 Aug 2019 16:49:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:41812 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727568AbfHPUtS (ORCPT ); Fri, 16 Aug 2019 16:49:18 -0400 Received: from oasis.local.home (rrcs-76-79-140-27.west.biz.rr.com [76.79.140.27]) (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 EEC602077C; Fri, 16 Aug 2019 20:49:16 +0000 (UTC) Date: Fri, 16 Aug 2019 16:49:12 -0400 From: Steven Rostedt To: Joel Fernandes Cc: Alan Stern , Mathieu Desnoyers , Valentin Schneider , linux-kernel , Peter Zijlstra , Thomas Gleixner , paulmck , Boqun Feng , Will Deacon , David Howells , Linus Torvalds Subject: Re: [PATCH 1/1] Fix: trace sched switch start/stop racy updates Message-ID: <20190816164912.078b6e01@oasis.local.home> In-Reply-To: References: <241506096.21688.1565977319832.JavaMail.zimbra@efficios.com> 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 Fri, 16 Aug 2019 16:44:10 -0400 Joel Fernandes wrote: > I am also more on the side of using *_ONCE. To me, by principal, I > would be willing to convert any concurrent plain access using _ONCE, > just so we don't have to worry about it now or in the future and also > documents the access. > > Perhaps the commit message can be reworded to mention that the _ONCE > is an additional clean up for safe access. The most I'll take is two separate patches. One is going to be marked for stable as it fixes a real bug. The other is more for cosmetic or theoretical issues, that I will state clearly "NOT FOR STABLE", such that the autosel doesn't take them. -- Steve