Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6695554ybv; Wed, 12 Feb 2020 17:43:39 -0800 (PST) X-Google-Smtp-Source: APXvYqy98ymkavH/GmK6N1hH8C2AYV1YMw7o5N0k9hnzbtsquTZf6Y0az1C/IrY5UhHBDhlqOVHh X-Received: by 2002:a9d:6b17:: with SMTP id g23mr11840122otp.139.1581558218968; Wed, 12 Feb 2020 17:43:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581558218; cv=none; d=google.com; s=arc-20160816; b=Bhs/cmy9YhpFf7IEWqS1woKwS/vn4IgWDMOwISg1aiV8g9iLvV1dptrQDhwOfbYDLV jXK2zNFTXXJArZQLj82X7Ck+2dJRaaQipHE0kqyV+2gPanSSjt+lJM+BifQdKUOXQKS7 4FnAtpOxXLkCYtlxzWTPRaX3aVkeN1UlD64ipjI1qgPGRa458MCufBEy24CTKFNlmOwF 1kpTGb+Mwe7ig6hUtrUGkMqrACVtpi/GXzlhgM3RQybEcprZyv36/9PjffexL5suFTHx GdPYbnZ3E6bkllkaVLaRi1W7Rq7M5mELYyCAOSiXRBpbMTaTMc2g9iZFd8BpIDRSSX4q MVGQ== 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=bLuOJqz4bBHov1QqoKVH0jFa49O81WelZ7gsv9HFFUk=; b=Mg4cxhx8bwk7Mo0E8ZidrxME2T1aGDTbFQTM00dItKFe6BlD1J9CpjtJ2lBInSpyae zNsHDe95obvG2sayGsZvUgEchJyRsE0TeDqlqh8BH1RtPY2P6aJvCuLHiIP42pW56zYC dUYlVza5WcOibxUvzPhe8sEl1msIN0Xb5XWfAlPcLD4xhGU2FC7SwZXUDUCCBObNv9zo i2ycCH4k9q+ufTA0XIVO2HAm0GGzFGU+dJUMGIgzRWt18vwHNdu1eEvjBnIMKbnvO4AP ff2pALIy+c56I0elxQTKLNeoMytT4rxGK6x0/b9f6kJBuX5Og/ZU/ATfX3bXsTTjdnzS vW+w== 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 r66si416919oie.255.2020.02.12.17.43.25; Wed, 12 Feb 2020 17:43: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 S1729443AbgBMBlc (ORCPT + 99 others); Wed, 12 Feb 2020 20:41:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:50778 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729285AbgBMBlb (ORCPT ); Wed, 12 Feb 2020 20:41:31 -0500 Received: from oasis.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 F067420873; Thu, 13 Feb 2020 01:41:29 +0000 (UTC) Date: Wed, 12 Feb 2020 20:41:28 -0500 From: Steven Rostedt To: Joel Fernandes Cc: Peter Zijlstra , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, mingo@kernel.org, gregkh@linuxfoundation.org, gustavo@embeddedor.com, tglx@linutronix.de, paulmck@kernel.org, josh@joshtriplett.org, mathieu.desnoyers@efficios.com, jiangshanlai@gmail.com Subject: Re: [PATCH v2 2/9] rcu: Mark rcu_dynticks_curr_cpu_in_eqs() inline Message-ID: <20200212204128.20f5e8ba@oasis.local.home> In-Reply-To: <20200212223818.GA115917@google.com> References: <20200212210139.382424693@infradead.org> <20200212210749.915180520@infradead.org> <20200212223818.GA115917@google.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 Wed, 12 Feb 2020 17:38:18 -0500 Joel Fernandes wrote: > I think there are ways to turn off function inlining, such as gcc's: > -fkeep-inline-functions > > And just to be sure weird compilers (clang *cough*) don't screw this up, > could we make it static inline notrace? inline is defined as notrace, so not needed. I did that because of surprises when functions marked as inline suddenly became non inlined and traced, which caused issues with function tracing (before I finally got recursion protection working). But even then, I figured, if something is inlined and gcc actually inlines it, it wont be traced. For consistency, if something is marked inline, it should not be traced. -- Steve