On Mon, 28 Feb 2022 17:48:27 -0800 Daniel Latypov <dlatypov@xxxxxxxxxx> wrote: > He also prototyped a more intrusive alternative to using ftrace and > kernel livepatch since they don't work on all arches, like UML. Perhaps instead of working on a intrusive alternative on archs that do not support live kernel patching, implement live kernel patching on those archs! ;-) It's probably the same amount of work. Well, really, you only need to implement the klp_arch_set_pc(fregs, new_function); part. -- Steve