Re: [PATCH 08/15] x86/alternatives: Teach text_poke_bp() to emulate instructions
From: Steven Rostedt
Date: Tue Jun 11 2019 - 11:56:44 EST
On Tue, 11 Jun 2019 11:22:54 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> What would work would be to:
>
> add breakpoint to first opcode.
>
> call synchronize_tasks();
BTW, that should be "synchronize_rcu_tasks()"
-- Steve
>
> /* All tasks now hitting breakpoint and jumping over affected
> code */
>
> update the rest of the instructions.
>
> replace breakpoint with jmp.