Re: [PATCH v3 01/22] x86/paravirt: Mark native pv_ops helpers notrace
From: Steven Rostedt
Date: Wed Dec 02 2026 - 12:14:06 EST
On Wed, 2 Dec 2026 14:55:12 +0100
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> noinstr is validated by objtool. Nothing tells me if notrace is correct
> or not.
>
> This patch adds a gazillion non-obvious notrace annotations that *will*
> get lost/broken/etc. as code changes.
>
> There is no correctness guarantee anywhere near here.
So basically we need something that makes notrace similar to noinstr that a
static analyzer can check to makes sure something that is marked as
__always_inline doesn't contain something that can be traced.
-- Steve