Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4888824pxu; Wed, 21 Oct 2020 07:49:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtkxoPxVmVmNNy8IzMPmgNBw/wTP69vcoOsQt27wKW2QWjHn3Q3fv5oy/yke2bopNo4rmP X-Received: by 2002:a17:906:c109:: with SMTP id do9mr3817073ejc.142.1603291742020; Wed, 21 Oct 2020 07:49:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603291742; cv=none; d=google.com; s=arc-20160816; b=fe4sV/Nk2Mn0vjkrvdoAtA5DSCMd6wVV5fEtED15peu9O2PJIV7Y+AKFhBQZUFAeUy JYm4qajySBR4s1CUmzoiz5wxMeVHX740dssiDp5n5fg8CK3kgHNwIUto5qe5XNBl12X6 P8/tu5Ua+7PH0+rlCatx6NR9CpUFir01d+4GG8J46tK/OYibxiI4FOzIS6mN03z5/e9b ZYf8Z0xft+lqgofKZvhn6c+B+GgPeBKG8nUTZX3HeTZesG+RTBvcNfWWNUJmrIBWS9OD zzblE5bt1hrxsNjBw9k9vRz0OBn/V1uvQj8ZD35u4TrvZ+xagdaGywrCh8bQbcukqtdv O9bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=oStcCADh3fJ5FvLY+jSohX5gkNOofX9LTV8WLmTbvMA=; b=iF6GrZAdzI1uWcnhjQle2MQTI46qcsK3BjmbfzboY3pcTwYqfLF4Kgu9d+3cRxcYau 9WfC8mJdPoCfd/MMhT52yqfobK+G9SfWQIPr/5GrFJf6F8ePoYNjNpmbcvPToAjC6/ck O8xM6bvTMKQ2zbRlipPh87S/Ngz1L14589Axgfi8xNnd5+8LMf/zOzDMaRPuvRvQKyS/ VkD4kKuwNVYo8GZf7Iv72oiXxLxkOpCD+a5NGBPGF6m9nLC98nDoGwstB3jHhlTsbZAA xq8Tw8PQslz+q5P+Ay2eSdgLp27D52Oa9cpA09dkM8b9qACCQP/AvC1nBdvU7QeIDRIB 29lQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id du18si1280030ejc.625.2020.10.21.07.48.38; Wed, 21 Oct 2020 07:49:02 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2443352AbgJUOP0 (ORCPT + 99 others); Wed, 21 Oct 2020 10:15:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:46050 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2442646AbgJUOP0 (ORCPT ); Wed, 21 Oct 2020 10:15:26 -0400 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 06DB722248; Wed, 21 Oct 2020 14:15:23 +0000 (UTC) Date: Wed, 21 Oct 2020 10:15:22 -0400 From: Steven Rostedt To: Zong Li Cc: paulmck@kernel.org, josh@joshtriplett.org, mathieu.desnoyers@efficios.com, jiangshanlai@gmail.com, joel@joelfernandes.org, vincent.whitchurch@axis.com, tglx@linutronix.de, paul.walmsley@sifive.com, palmerdabbelt@google.com, guoren@kernel.org, atishp@atishpatra.org, mhiramat@kernel.org, greentime.hu@sifive.com, colin.king@canonical.com, rcu@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH] stop_machine: Mark functions as notrace Message-ID: <20201021101522.3d1f3865@gandalf.local.home> In-Reply-To: <20201021101216.4d840e15@gandalf.local.home> References: <20201021073839.43935-1-zong.li@sifive.com> <20201021101216.4d840e15@gandalf.local.home> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Oct 2020 10:12:16 -0400 Steven Rostedt wrote: > > Fixes: 4ecf0a43e729 ("processor: get rid of cpu_relax_yield") > > Fixes: 366237e7b083 ("stop_machine: Provide RCU quiescent state in > > multi_cpu_stop()") > > I really do not like to add "notrace" to core functions because a single > architecture has issues with it. Why does RISCV have problems with these > functions but no other architecture does? > > NACK from me until it is shown that these are issues for a broader set of > architectures. After looking at the two above fixes, I take back my NACK ;-) One of them duplicates an already notraced function, so that looks fine. The other makes a static function global, which could cause issues as well. After further review: Acked-by: Steven Rostedt (VMware) -- Steve