[RFC] [PATCH 1/2] x86: introduce int3-based instruction patching

2013-07-10 Thread Jiri Kosina
Introduce a method for run-time instrucntion patching on a live SMP kernel based on int3 breakpoint, completely avoiding the need for stop_machine(). The way this is achieved: - add a int3 trap to the address that will be patched - sync cores - update all but the first

[RFC] [PATCH 1/2] x86: introduce int3-based instruction patching

2013-07-10 Thread Jiri Kosina
Introduce a method for run-time instrucntion patching on a live SMP kernel based on int3 breakpoint, completely avoiding the need for stop_machine(). The way this is achieved: - add a int3 trap to the address that will be patched - sync cores - update all but the first