Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3988419pxv; Tue, 13 Jul 2021 08:20:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXDrWG71puC2vJmV24WYxZkSLRU5s6aNYq3PVN4VrpxdigZWZ6zH49cvFGdkwVaN8mH4Il X-Received: by 2002:a17:907:7695:: with SMTP id jv21mr6177370ejc.243.1626189635011; Tue, 13 Jul 2021 08:20:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626189635; cv=none; d=google.com; s=arc-20160816; b=M56fgQnWtktwP5sYqsYIN/I4lR0k7sMwCO2skNKJ59domailuxDLCRBCqfg/hjzZme mO0lLInpP/6r81rAJN8h4OoZjyd3yefXaNZCLMPRR070yExXvrHUDR0xI0SX9BSuQxEB KF95WzvKeGzBzhXenJqEGrg31xzXE64li+bJLj2E+sIyemSpDXSLtHfRywbt8g+Ll+vj EywUOmxW5rt4nKS89vBr8gHKQEPis0eevGo1V8Ibo8iNMhx0y9qIKsEhP55o9d5ZSXZ1 qJXN7ISoeLE2fEAK9odGjkcVDVqxIXR0RAz5mVUtFnf2Or72eTFx4Cq4xIQFfL1MrBVL MEtA== 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=zD3aqGAXRJKktv6XANVQnDdcyz89N9l9Wl9hQuTakMw=; b=MAXKY+ZatOQvPQ2DRF2c62rUT9M1DEo/R0Vm/zmYh+/L3ykAWtDMYNTfVQ5THvzv1y tlOrb9cf9Vz6dAssF4H1sfa/zv76zbPGd1hjTfIuO3ZnK5tXL8I+oJdNRr6krT2rXmCW bSYo1zaKyuiHz7a0aniaL1Z16wbWFwiigErWNo0PjFcJQM5wuvOphuMxSRkX8glDaV9S IloUYgLVpsIlSLCC++dJ4vXKngAY4DzS6jdhzlVym1JsCm6+UO37L0qS8K4dFNs1JN3e 3y5lPow53txczu07UI0t6l3yYSQHESYmPqJ5UbmIGITit/Ts6Fg/JzKCFi6wN3UU2GfE JXrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ibH+gOsk; 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 bi15si22823560edb.459.2021.07.13.08.20.10; Tue, 13 Jul 2021 08:20:34 -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=ibH+gOsk; 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 S237027AbhGMPV6 (ORCPT + 99 others); Tue, 13 Jul 2021 11:21:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:36958 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236842AbhGMPV6 (ORCPT ); Tue, 13 Jul 2021 11:21:58 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9821561279; Tue, 13 Jul 2021 15:19:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626189548; bh=o2FbT+3a/2fjrT4VDqDNnVS3kQjSJg0Vd1gtxuu08lQ=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=ibH+gOskiaRS5kxHGp0f+vHuyLowOLMKrvQ2D6ZAY1JO7TUpxFCRk7iWWLm28KFMT OZnGwwHl77WsRYRxkmz0koVUam3DUNQzTQ6awPRe+jdtk+YjCbZRl/Q+hUA2cmdAgn pAOsbmJ2SIpjzdkhcL30BKHQaZbsokIZzmGkzuYhTarCwO0K77KsJGNyu75xqfD7tu tqkQY0gKWJhkhP9VDSt/Z+qh9dat+Lg4w5Ud64AQ2ch+IHBgIAqPs+DoV3Sj2hmOIJ VoiM6JJ8LxYMSE9GzaERnDZ3skeAl9MKpmu8o+GRWb17Sl1yd9mJOcIZbnb7qlcCGs oV83hGVfGA9xQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 6C2605C0367; Tue, 13 Jul 2021 08:19:08 -0700 (PDT) Date: Tue, 13 Jul 2021 08:19:08 -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: <20210713151908.GW4397@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> <20210713131812.GV4397@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210713131812.GV4397@paulmck-ThinkPad-P17-Gen-1> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 13, 2021 at 06:18:12AM -0700, Paul E. McKenney wrote: > 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. ;-) And another guess: A tool that identifies use of Kconfig options that are not defined in any Kconfig* file. Thanx, Paul