Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp604511ybv; Thu, 13 Feb 2020 06:26:51 -0800 (PST) X-Google-Smtp-Source: APXvYqx7ODU3ZFaZYHlbNTp22M4PjvY4m9jNuPZHb8iTOUfFfE6LQ2z4Xs0kJZ61UuZIKLvGOLBI X-Received: by 2002:a9d:4b05:: with SMTP id q5mr12936944otf.57.1581604011110; Thu, 13 Feb 2020 06:26:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581604011; cv=none; d=google.com; s=arc-20160816; b=1FW2LJdrxrQqssajTiGA7DuKwMpfW7VhUcGrkAVMcz6rC9YAHpHxTS8ipju8Gmq+SO c07MAahr18yE9nJPAj6jJuYI5HJaxetBcAFjy19eTi9pUfV1hKwnk0ASTu8jKv5B2gzp bX2Y79AmOnVxRLzp9/V5iI4blBd8893mH+ppRBwsCpZgNBMly9GixhQWCsQ2W3efdT3/ rrn5TQydAlTWpK/RNhJysohkJwglekP4y8d8mxeUEASiYhiD4LvcZKMfsZGqHeU3/WHA wHRlRDK7f9hwxyBn2CoP9K+1/YhS5ITy0ZD1elf6+q6tpsxiPh+FMPxJ++u7zDHwZwAA OBsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Bc0b7TzZN/NSWX0NFmEbYxGFh6qjkw/pK6nZDwFtVfU=; b=k1JPuccii3vJf8XwlwGCkBJbWfSFJj+TMgEHTr3BmB5IwngmgcAGv6UUfCB01wR6Go ahSvcSq+CqNK4rQHT1GOpCgtePjm9grejBhyRfWyge0eB9a8rxWIy4WDv6JkL1dRx875 me8LFQbUyzIq+FBNz6udgHxu1C/9lPF7mDpcN6Po8JzA0tNH8JVT0X8aQHgec2soDONq FRgqgSde8VXPy6lQU9sds1D4rGw6dSBrP+kiiak7YnvrjNU2FN9NiKbrHd1Z3C+urByX KU31LYzyXZeP8+bXi4ie1cSJWKpq8+h42bkaN9ocIgUDPHfNO3FOZz4K7FoN6QMhfLl1 7QoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=e72tivqY; 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 u14si1180131otk.178.2020.02.13.06.26.33; Thu, 13 Feb 2020 06:26:51 -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; dkim=pass header.i=@joelfernandes.org header.s=google header.b=e72tivqY; 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 S1727199AbgBMOZV (ORCPT + 99 others); Thu, 13 Feb 2020 09:25:21 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:34313 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726282AbgBMOZU (ORCPT ); Thu, 13 Feb 2020 09:25:20 -0500 Received: by mail-qk1-f194.google.com with SMTP id c20so5828825qkm.1 for ; Thu, 13 Feb 2020 06:25:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Bc0b7TzZN/NSWX0NFmEbYxGFh6qjkw/pK6nZDwFtVfU=; b=e72tivqYvQ7hzD1hDEOyR4fyZzUUauEuzvGQ1N6vlP9FlkxL9ARfbqgtUfkupK82HE QkWjAEhiFncYm+atr/0aEnCDVDNTgaMxj0/Pwg9HQmhiF5/yPOhPnh0lTZhCD+DUthjp efugfVtBDen1rlDtGrdP9N7pjEOdNHRqT8Rhg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Bc0b7TzZN/NSWX0NFmEbYxGFh6qjkw/pK6nZDwFtVfU=; b=qheH6KyOYuyMGi1APKRR1kdrmbpqrMciz1nteN94OXwyv03MdalQ/swccBHuzAwcQx wvoL2lCfTWrtjVwGLzRpixf3tBAgzPRzFnbnjSpHAoZEeyrirYHVmnCZTKQw78IWDm85 1IKAEE/900LJa85trTXxVI/46U+bdVm2ViLPit1fSR+LG1Vlb+Xwo5qldkE68iIF3xv+ U3BlcV+PuIkLIRXTY4amOd+KSpNLFmi++LccglZn+95FlmrUaTMelUSx8don/3Nn08KF 4+zo/7gQ286U5dqE0WrMecck9kfg+/NwrWaAruBvzGWbCpYbqfNhe5PvCjyM2CK0KbX0 +QOA== X-Gm-Message-State: APjAAAWiEdCD218gTczaKHgrqPh7sGJYMOo2LjBrmFTH85DB2k/UeEZv hHU4sUYXenkt6tX4Ma0rwxMGZ7iGdOaypuyzBsNqEw== X-Received: by 2002:a37:6d47:: with SMTP id i68mr16018376qkc.228.1581603919781; Thu, 13 Feb 2020 06:25:19 -0800 (PST) MIME-Version: 1.0 References: <20200212210139.382424693@infradead.org> <20200212210749.915180520@infradead.org> <20200212223818.GA115917@google.com> <20200212204128.20f5e8ba@oasis.local.home> In-Reply-To: <20200212204128.20f5e8ba@oasis.local.home> From: Joel Fernandes Date: Thu, 13 Feb 2020 09:25:08 -0500 Message-ID: Subject: Re: [PATCH v2 2/9] rcu: Mark rcu_dynticks_curr_cpu_in_eqs() inline To: Steven Rostedt Cc: Peter Zijlstra , LKML , linux-arch@vger.kernel.org, Ingo Molnar , Greg Kroah-Hartman , "Gustavo A. R. Silva" , Thomas Glexiner , "Paul E. McKenney" , Josh Triplett , Mathieu Desnoyers , Lai Jiangshan Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 12, 2020 at 8:41 PM Steven Rostedt wrote: > > 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. Ah I see it, thanks for the clarification Steve! That looks like a good idea. I withdraw my previous comment. - Joel