Re: [PATCH V2 5/9] x86/alternative: Split text_poke_bp() into tree steps

2018-12-19 Thread Jiri Kosina
On Tue, 18 Dec 2018, Daniel Bristot de Oliveira wrote: > text_poke_bp() updates instructions on live kernel on SMP in three steps: > 1) add a int3 trap to the address that will be patched > 2) update all but the first byte of the patched range > 3) replace the first byte (int3) by the first

Re: [PATCH V2 5/9] x86/alternative: Split text_poke_bp() into tree steps

2018-12-18 Thread Steven Rostedt
Splitting text_poke_bp() into tree steps. Is this a subtle joke on static_branches? ;-) -- Steve

[PATCH V2 5/9] x86/alternative: Split text_poke_bp() into tree steps

2018-12-18 Thread Daniel Bristot de Oliveira
text_poke_bp() updates instructions on live kernel on SMP in three steps: 1) add a int3 trap to the address that will be patched 2) update all but the first byte of the patched range 3) replace the first byte (int3) by the first byte of This patch creates one function for each of these steps.