Re: [PATCH v2 3/4] x86/static_call: Add out-of-line static call implementation

From: Steven Rostedt
Date: Mon Nov 26 2018 - 11:19:26 EST


On Mon, 26 Nov 2018 16:43:56 +0100
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:


> > + /* Patch the call site: */
> > + text_poke_bp((void *)insn, opcodes, CALL_INSN_SIZE,
> > + static_call_bp_handler);
>
> I'm confused by the whole static_call_bp_handler thing; why not jump
> straight to @func ?

Interesting, that might work. I can give it a try.

-- Steve