From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 548A7C3ABA5 for ; Tue, 29 Apr 2025 18:23:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=29D5IaLsqqR+/QRublIg6aL3Q1/iCjnRuaX0k6mt24c=; b=Zzl9VvYCHTKJSg50SqWimXCLpB JU+ulbhFPQkm2/s7Em2KbobzCU/wPJPTVxCRZeCZz7aW0e+NdGdxNwIrZU4NwmYhPltkF/1UWyjBL B4nVOVQyYPvLMpJEbWYvc0/5vJUxBKn58BmufXNJd0v59HwSI6Za7Lx8wUoZp1z9x4Sbzn5DfMuNc jx8a53GS2b2zpcLytpo6IYL6svgiCLE49x/uk5zlo6G3dWBFSFgws8ZrVK0y9ZJZHtDTJuciEJs9A E6+adXBMlRk1w4jIwdK1oRb5BQ0ELWW1HfNrqc/voY5GVHD2U/CBYfMk2FRXagBO8GT9iVwGUWRUs bePPUe5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1u9pbo-0000000AWTL-2pHU; Tue, 29 Apr 2025 18:23:08 +0000 Received: from verein.lst.de ([213.95.11.211]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1u9kB6-00000009f6q-48Hq for linux-nvme@lists.infradead.org; Tue, 29 Apr 2025 12:35:14 +0000 Received: by verein.lst.de (Postfix, from userid 2407) id DBA7F68AA6; Tue, 29 Apr 2025 14:35:04 +0200 (CEST) Date: Tue, 29 Apr 2025 14:35:04 +0200 From: Christoph Hellwig To: chenlinxuan@uniontech.com Cc: Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg , Andrew Morton , Yishai Hadas , Jason Gunthorpe , Shameer Kolothum , Kevin Tian , Alex Williamson , Peter Huewe , Jarkko Sakkinen , Masahiro Yamada , Nathan Chancellor , Nicolas Schier , Nick Desaulniers , Bill Wendling , Justin Stitt , Vlastimil Babka , Suren Baghdasaryan , Michal Hocko , Brendan Jackman , Johannes Weiner , Zi Yan , Mathieu Desnoyers , Peter Zijlstra , "Paul E. McKenney" , Boqun Feng , Dmitry Vyukov , Andrey Konovalov , Juergen Gross , Boris Ostrovsky , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, kvm@vger.kernel.org, virtualization@lists.linux.dev, linux-integrity@vger.kernel.org, linux-kbuild@vger.kernel.org, llvm@lists.linux.dev, Winston Wen , kasan-dev@googlegroups.com, xen-devel@lists.xenproject.org, Changbin Du , Linus Torvalds Subject: Re: [PATCH RFC v3 0/8] kernel-hacking: introduce CONFIG_NO_AUTO_INLINE Message-ID: <20250429123504.GA13093@lst.de> References: <20250429-noautoinline-v3-0-4c49f28ea5b5@uniontech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250429-noautoinline-v3-0-4c49f28ea5b5@uniontech.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250429_053513_168745_EBFBA01B X-CRM114-Status: GOOD ( 15.91 ) X-Mailman-Approved-At: Tue, 29 Apr 2025 11:22:51 -0700 X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org On Tue, Apr 29, 2025 at 12:06:04PM +0800, Chen Linxuan via B4 Relay wrote: > This series introduces a new kernel configuration option NO_AUTO_INLINE, > which can be used to disable the automatic inlining of functions. > > This will allow the function tracer to trace more functions > because it only traces functions that the compiler has not inlined. This still feels like a bad idea because it is extremely fragile.