From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796162647; b=cBIAapO1X+4hTGVuGGAIWJ0m2DLYvgx9wy2mPRPOg9kjc8SzeddeGly+G/FxxV/oeXw0 4CpghnxpRP9ADIacaGJOU88zBLXqh0zxgHd8jjSEwwv9i3wiLhAJLsgF2FSJp1JltQZa6 bwF86QBzwEvZuvvIBUa0sVTWLm+yerES3DOefN3+3xuZfJUB5PydPqeNCEXSbgsOtD9u7 sbb5ynpHxdEcDx50Ra3YeA8N0324m7zaJ3RVAOGnlb8DErYa9o3uaQr9VBaT5xY+5nz3a 7oZJ7fPAcX9lwTW6zvXQ1WfBNz3RHGEhtfrdz5vkewMEk/2xUkiog8NZPYXMry/SXyQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796162647; h=Received:DKIM-Signature:Message-ID:Date:MIME-Version:User-Agent: Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding; bh=FN2umM8zjAz66itW3jMwJlw7SwcBCSPkNsV5cL8dMns=; b=k/a1HEktgLWhWsOV97n7sF54WCAIjFmYduNxo2kqKRzKVzzTEq4IBKRGdZCv7zs7ZyEv Wrb0ulY8azwhj8lmtD6DkHNHHaNkEkDG1eZX8ezEWZ3zU/+TgK3fEChxpVFmpbi0Yc1vS gLPsE41u80peh+jcC663G8n3Jz6ho//SeSA4RpIR/poFUshk9y/LQn1Qo2p930uC1OkDU wKiGyJhAGhRaoftuyDxrox0+iSgiLl58QkaoDcJVSmyWbuUbxwrnDXAqOAGnSfAVcKTBo hMJxb2ZBVjpiMJeOGjXL6x+gaR6hSEtgW9p0MWn8JMXFxFkU3ms6Z+FLI3Eqd2h2d9Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=YEY2Y9xT; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B150D606A31A; Tue, 1 Dec 2026 22:04:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=YEY2Y9xT 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-Mailing-List: live-patching@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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 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