kpatch/kmod
Evgenii Shatokhin f447c6f40e kmod/core: Check all patched functions only if replacement is in progress
kpatch_verify_activeness_safety() calls kpatch_backtrace_address_verify()
for each address in the call traces of the processes.

Among other things, kpatch_backtrace_address_verify() searches the whole
set of functions for the ones being replaced (func->op == KPATCH_OP_UNPATCH).
This is a waste of time when the patch is loaded or unloaded rather than
replaced. Let us do the searching only if patch replacement is in
progress.

Signed-off-by: Evgenii Shatokhin <eshatokhin@virtuozzo.com>
2019-07-02 17:51:28 +03:00
..
core kmod/core: Check all patched functions only if replacement is in progress 2019-07-02 17:51:28 +03:00
patch livepatch-patch-hook: skip klp_(un)register_patch() for v5.1+ kernels 2019-05-01 09:35:32 -04:00
Makefile kmod: Fix install path 2016-05-06 10:47:43 +01:00