Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2295628pxp; Mon, 21 Mar 2022 16:09:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyf7082iGq6eCkKZYiuKzo0m3aQWudrtoqeN523ZvF6REfHqn3XIYFIvHKCsNt+0+rWwA/V X-Received: by 2002:a17:90a:556:b0:1c6:7a7f:374a with SMTP id h22-20020a17090a055600b001c67a7f374amr1575541pjf.146.1647904188949; Mon, 21 Mar 2022 16:09:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647904188; cv=none; d=google.com; s=arc-20160816; b=NdtJXvObrRgNiV4BFoB9idiLwCb3b/e7Ocm4O/6ojH33FE4iYsnkZbsm9N8JeCQyH4 9lN5ze0Go4GCuMyJqR5JxyNCAUPvBrFbkGY388TdjpfXonGppCx7mtwFJsT74qj5VdwF uVdISKu0G6vv4yU5spqJMT+PibhGlRslef05DS7IP6uQknJrXljTGHDrFjYWpXb/1NgK qq0CYM8eC5R5XnyLj4B0GlMw7Vu8bGHC7sOKPt197p4yWsWOFAz3OngrszOEUII9qAma O8IzrRVdl60aUJ9GvcMxMxX0s1X4HvZ4yl/HLW9dk9+IZFUudNEWNWR81XnVBswG4uYb 6Aeg== 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:message-id:subject:cc:to:from:date:dkim-signature; bh=GpBLN45XHdgrYM0mJnm8SxpRBseWTjkv46KwP4WkL8w=; b=RAoXypp03ztotiRzk4cb6rNZPgXPbo4lhjY5PGmevcuXrhw0hb5w78mlsl8iUJ7lFr KJcWw+diXMuIS0Eg21suvuKTqLq2LLWnwEiULwpqf/4YHQBwsyTyJeCXWjkpgv05V2fN tlk1FqE0R65l366dgiawNAWrvWJqN0cDHAgJXViHLrQTTQuQyrjofN0xIc2uNdHGgpto a+sadTqMH/jQNgbmzXRWiiQQP1D6NVlrKqULk2/ccIYL87Gw1EncblXBg+H9rYmOhHPm 5D1VROm7DcpPCYyH/QX/CeGjRq24ydpsROv9/55Fgfueeb4skAn/ZKPKTw86+s3o7Wyf CcJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=FibBNvtH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id r7-20020a17090aa08700b001bd14e01f2asi647008pjp.24.2022.03.21.16.09.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 16:09:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=FibBNvtH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B5AE34281B6; Mon, 21 Mar 2022 15:08:02 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351418AbiCUQwf (ORCPT + 99 others); Mon, 21 Mar 2022 12:52:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347786AbiCUQwd (ORCPT ); Mon, 21 Mar 2022 12:52:33 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55720171EC9; Mon, 21 Mar 2022 09:51:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=GpBLN45XHdgrYM0mJnm8SxpRBseWTjkv46KwP4WkL8w=; b=FibBNvtHtcELnmPR5kl0+HSRDL QVY6FftHfgU2nVmUOl5r51wh1rRPtldp+pwhaAluwv+hOk2obN7pWZjVGXTC+11RP2Wr/6X3n2Kog IQ4PzWU+Pmq7uPMmhIzecCioopS/QAy6WF4b1wTrHkY2rvTmN8cA6+eSaoGuHAv9m0MO7AcZrDcb/ DaiIjnPzhwk/SL7Cug1ymDJM3AwmHYvp+qSm5mTmCfK2vb9mGXYDy4NwPMnVCWRS2yXnYNX+kF+au EajY2HEWiFAcV+c7e2JSoZWZUlOyzPSXrabJM2hRYGvLaOoCMNTLIoR/YJr3ssoi9P0zh4Ykba4Mf mbYbo4tw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWLF5-00AlK4-4g; Mon, 21 Mar 2022 16:50:51 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 9632D30031D; Mon, 21 Mar 2022 17:50:50 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 7EC432DB94824; Mon, 21 Mar 2022 17:50:50 +0100 (CET) Date: Mon, 21 Mar 2022 17:50:50 +0100 From: Peter Zijlstra To: Steven Rostedt Cc: Stephen Rothwell , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Linux Kernel Mailing List , Linux Next Mailing List , mhiramat@kernel.org, ast@kernel.org, hjl.tools@gmail.com, rick.p.edgecombe@intel.com, rppt@kernel.org, linux-toolchains@vger.kernel.org, Andrew.Cooper3@citrix.com, ndesaulniers@google.com Subject: Re: linux-next: build warnings after merge of the tip tree Message-ID: References: <20220321140327.777f9554@canb.auug.org.au> <20220321112805.1393f9b9@gandalf.local.home> <20220321121209.3b95e406@gandalf.local.home> <20220321121549.1c8588c5@gandalf.local.home> <20220321124551.3d73660b@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220321124551.3d73660b@gandalf.local.home> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 21, 2022 at 12:45:51PM -0400, Steven Rostedt wrote: > On Mon, 21 Mar 2022 17:40:32 +0100 > Peter Zijlstra wrote: > > > func_B: > > call __fentry__ /* push func_B */ > > ... > > call __fexit__ /* pop 1 + tails */ > > ret > > > > func_A: > > call __fentry__ /* push func_A */ > > ... > > call __ftail__ /* mark func_A tail */ > > jmp func_B > > > > func_C: > > call __fentry__ /* push func_C */ > > call func_A; > > ... > > call __fexit__ /* pop 1 + tails */ > > ret; > > This also assumes that we need to trace everything that is marked. I > mentioned in another email, what do we do if we only trace funcA? Like I said later on; if we inhibit tail-calls to notrace, this goes away.