Re: [PATCH v4 29/45] x86/ibt: Annotate text references

From: Alexei Starovoitov
Date: Tue Mar 22 2022 - 00:46:15 EST


On Mon, Mar 21, 2022 at 9:43 PM Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:
>
> On Tue, 08 Mar 2022 16:30:40 +0100
> Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> > Annotate away some of the generic code references. This is things
> > where we take the address of a symbol for exception handling or return
> > addresses (eg. context switch).
>
> Ah, I got it. I need this annotate lines for rethook too.

Masami,

Peter already proposed a fix:
https://lore.kernel.org/lkml/YjisdqdofbDIYj2U@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/