From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E027606A320 for ; Tue, 1 Dec 2026 22:04:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=kLv+SqEj; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=YEY2Y9xT 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:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=FN2umM8zjAz66itW3jMwJlw7SwcBCSPkNsV5cL8dMns=; b=kLv+SqEj8O8MC9 WBUJAVzpm+6KRYD8vUv3N8pIsUhhgbvGIx8XBAzTRhn55QZg6oIDcGjmvJs+JG9CqbinNY45gI5SE bt6aBLjBk1J6WtHZDxspvrdl2W6s4VtZ1NxW2HXiNwBu5j2T3o+sxEj2T0WWQqvopfY8zMp3ePIRT R2gA4rC8UqR7roQ/jtrGMe0gJt0ORJHZu51BZkn6UcVJYe5oSY7+w9YPrHet3fNpC/W5t9qbRfUUb oI9SzIk+XqVGJ/bFi4wYdnKSAGT12rYcciojtG928FMgZMvkjJoo5u6iUDJyaZXx4lBnIFOFHrYS+ Y3WOtqjB7hgHm/bCjNaw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYVxJ-00000009WKF-2ShF; Tue, 01 Dec 2026 22:04:09 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYVxI-00000009WJi-0TYo; Tue, 01 Dec 2026 22:04:08 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 8DF536190C; Tue, 1 Dec 2026 22:04:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 180CF1F000C1; Tue, 1 Dec 2026 22:03:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796162647; bh=FN2umM8zjAz66itW3jMwJlw7SwcBCSPkNsV5cL8dMns=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=YEY2Y9xTC37bkPjJIxJZYsPABFSFbOCk67Y4ERe7Ni0UWFpNyEQ11jxl6+5EQZps2 7sRmSJMFXsQmFWK5sryK9KHk3XwKwMN9k5J7rDR4kHa00Q2aqU/ICtB9t8l3B0gqNz E1MOdbooSxG9lsyt37jYZFHABXfIyaYMGtMqaisV7P2rXtArk9cti0qhOFJULK/cwb t4hTjJnI53BteT7f4aqYhiq66Go0lu1SP6NvdbkUDlax3NlxmsX8gHkYr/vzu8MQe4 V9F3YYeuCliK0BZQdttmR47OOETjDcmsaa4ZMotM3fZ4Zu39ZmoQbaVryXxLGfHlj/ jpgOg8n82zWeA== Message-ID: Date: Tue, 1 Dec 2026 23:03:55 +0100 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 00/22] Move notrace from inline to __always_inline To: David Laight , Song Liu Cc: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, live-patching@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, bpf@vger.kernel.org, rostedt@goodmis.org, mhiramat@kernel.org, mark.rutland@arm.com, peterz@infradead.org, tglx@kernel.org, frederic@kernel.org, paulmck@kernel.org, catalin.marinas@arm.com, will@kernel.org, maddy@linux.ibm.com, mpe@ellerman.id.au, npiggin@gmail.com, pjw@kernel.org, palmer@dabbelt.com, aou@eecs.berkeley.edu, alex@ghiti.fr, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, ojeda@kernel.org, kernel-team@meta.com References: <20261201042201.3199928-1-song@kernel.org> <20261201111333.2bc36726@pumpkin> Content-Language: fr-FR From: "Christophe Leroy (CS GROUP)" In-Reply-To: <20261201111333.2bc36726@pumpkin> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-7.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Le 01/12/2026 à 12:13, David Laight a écrit : > On Mon, 30 Nov 2026 20:21:39 -0800 > Song Liu wrote: > >> Since commit 45959ee7aa64 ("ftrace: Do not function trace inlined >> functions"), every function marked inline is also notrace. When the >> compiler does not inline such a function, the out-of-line copy cannot >> be traced with ftrace, cannot be a BPF fentry/fexit target, and cannot >> be livepatched. > > That seems entirely reasonable to me. > Anything marked inline is really expected to be inlined (even if the > compiler decides otherwise). Obviously not, see commit 60a3cdd06394 ("x86: add optimized inlining") Christophe