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

Steven Rostedt
2018-11-26T16:19:25Z

On Mon, 26 Nov 2018 16:43:56 +0100
Peter Zijlstra <peterz@infradead.org> 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