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
Splitting text_poke_bp() into tree steps. Is this a subtle joke on
static_branches?
;-)
-- Steve
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.
3 matches
Mail list logo