Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3892487pxv; Tue, 13 Jul 2021 06:18:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynvEXjKZ2OCfoaXs6vQdKbhyjnwPlKKN4S90lFvB1zxw5k62awMdu/OJnYNMF0vZj5qDE/ X-Received: by 2002:a02:ad08:: with SMTP id s8mr4123519jan.40.1626182338399; Tue, 13 Jul 2021 06:18:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626182338; cv=none; d=google.com; s=arc-20160816; b=H91ZRyKC39ytloNVsZZACNccu3fepqdaqerXlE57fpV8LjfVU7L1YZiIfOEk5fg9wV 8Jd6kskXStrkivYVsgrB+zH04rnX1ycGbSy3sNDnQsR6y9CtBu2yf//TVUY51+KTfL70 H7WMRfLOyKkk+RfiL/faKZm3Zanxhq8TxRMZa13Nu4jq+l4S8P1HtuiRSZqpGoloep0B C/xqS2rDQUDYetaZmyGWHd3SEDl+RoMTuV53H95Mu7aD6MumJfJRxmTMcvQl2g3w0zR3 i+zJcpRMlykuHjgO4qj0OFzV/JfnDI1/Gry/sKINuujsSGbHlCL5P303MPY3h8H1UX+g LCxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=HJAcmLhj5l2PjcAZZmbxxIeHMgMf0+U5Z8xSW6d8jZY=; b=Twv3sYs/1wKA4MrkuoNaJHrffUGqarTO4i94g1RWloi7aKwXSrLknexKqoPG2qnGdQ o53V2Csi+IhPuQ/we23rEWIgbOeAfrhqrmGwHtyBafv4kRlrjogLBM0zVwK+xmRsYJFh CGjOh3ZOzG7W4M7gWmOoduL5BxfjtV9mjri4gg3pPb1WaWCnujMSOPcHpRt/x83u/W2g CH9NriFXPCr4IphxVk0Mi6tD6w5Tqv6vGjpNytjJhIBlpAWR5H1Xgt9zmQkBmAdARcSi PK3O7sHOne+jTD41ldLv5zitdGACadjYsGL7Pd1ms/++6VtOqAn00dgOHXWMpp9Xnxx3 P5Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FGAUcSTs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t10si21569415ilf.122.2021.07.13.06.18.44; Tue, 13 Jul 2021 06:18:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FGAUcSTs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236492AbhGMNVD (ORCPT + 99 others); Tue, 13 Jul 2021 09:21:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:41076 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236283AbhGMNVC (ORCPT ); Tue, 13 Jul 2021 09:21:02 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E7E55610CB; Tue, 13 Jul 2021 13:18:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626182292; bh=mFHtavYuxH/fzZeLZE9LpQ1vHGSC7cR2ChXAS4fuTdY=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=FGAUcSTsoovKJpqn+ri4tnppV6LUKAzI2SIBBAQxCPJZGWpCnr2c9lLcrr1WQSdeD Vk+xRvf2oiQ2tEenuGCh72Kk49V/6SEbw1Fd5qC6OMHkURw9TVOhG4Phl2JmhhDVjE JjJzR0o2E/hb3duKTEGTf7KohoofaYBWrN66Emi1Vx3ZQLb7p4Iy4ZBO6Ydv/a2zUS 8DkC5aBHa4LoyiNP3MdBCKkP9YxJTbhale7JPxNjilZkz1qmpkG8yo6ndKio7Gs9Th zfCB/AYn962204rsgH6uxJMshfsqYz5hjPJyUS81a/hswneBolkLA2d6oJCvLablVq ix60g8+kJ9RvQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id B7C2D5C0367; Tue, 13 Jul 2021 06:18:12 -0700 (PDT) Date: Tue, 13 Jul 2021 06:18:12 -0700 From: "Paul E. McKenney" To: Mathieu Desnoyers Cc: zhouzhouyi@gmail.com, Josh Triplett , rostedt , Lai Jiangshan , "Joel Fernandes, Google" , rcu , linux-kernel Subject: Re: [PATCH] RCU: Fix macro name CONFIG_TASKS_RCU_TRACE Message-ID: <20210713131812.GV4397@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org References: <20210713005645.8565-1-zhouzhouyi@gmail.com> <20210713041607.GU4397@paulmck-ThinkPad-P17-Gen-1> <520385500.15226.1626181744332.JavaMail.zimbra@efficios.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <520385500.15226.1626181744332.JavaMail.zimbra@efficios.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 13, 2021 at 09:09:04AM -0400, Mathieu Desnoyers wrote: > ----- On Jul 13, 2021, at 12:16 AM, paulmck paulmck@kernel.org wrote: > > > On Tue, Jul 13, 2021 at 08:56:45AM +0800, zhouzhouyi@gmail.com wrote: > >> From: Zhouyi Zhou > >> > >> Hi Paul, > >> > >> During my studying of RCU, I did a grep in the kernel source tree. > >> I found there are 3 places where the macro name CONFIG_TASKS_RCU_TRACE > >> should be CONFIG_TASKS_TRACE_RCU instead. > >> > >> Without memory fencing, the idle/userspace task inspection may not > >> be so accurate. > >> > >> Thanks for your constant encouragement for my studying. > >> > >> Best Wishes > >> Zhouyi > >> > >> Signed-off-by: Zhouyi Zhou > > > > Good eyes, and those could cause real bugs, so thank you! > > Hi Paul, > > This makes me wonder: what is missing testing-wise in rcutorture to > catch those issues with testing before they reach mainline ? My guess: Running on weakly ordered architectures. ;-) Thanx, Paul