kpatch/kmod/core
zhenjiang.mzj b311112702 deal with the deadlock may occur in stop_machine context.
we remove the pre_patch_callback/post_unpatch_callback from the
stop_machine context. If a schedule/sleep happend in callbacks while the
process to be scheuded later will send IPI, because all interrupts
are disabled, the machine will trap into a  deadlock in such situation.
So we remove the pre_patch_callback and post_unpatch_callback from
the stop_machine to avoid such situation. On the other hand, to avoid
the race between the patched code and post-patch/pre-unpatch callbacks when
run in parallel, we didn't remove  the post_patch_callback and
pre_unpatch_callback from stop_machine.
2020-08-10 14:53:04 +08:00
..
core.c deal with the deadlock may occur in stop_machine context. 2020-08-10 14:53:04 +08:00
kpatch.h kmod: add support for in-kernel livepatch hooks 2018-03-23 10:32:14 -04:00
Makefile kmod/core: fix definition of KERNELRELEASE 2018-02-19 13:13:03 +03:00
shadow.c smatch: fix kpatch_shadow_alloc cleanup 2016-12-16 14:26:11 -05:00