lkml.org 
[lkml]   [2019]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 08/15] x86/alternatives: Teach text_poke_bp() to emulate instructions
On Tue, 11 Jun 2019 11:22:54 -0400
Steven Rostedt <rostedt@goodmis.org> 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.

\
 
 \ /
  Last update: 2019-06-11 17:52    [W:0.362 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site