mirror of
https://github.com/dynup/kpatch
synced 2025-01-31 01:01:34 +00:00
f447c6f40e
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> |
||
---|---|---|
.. | ||
core | ||
patch | ||
Makefile |