On Tue, Apr 2, 2024 at 10:03 AM zhang warden <zhangwar...@gmail.com> wrote: > > It seems that you try to remove the disabled module by the kip replace. > However, changing the code of sys call may introduce some unnecessary changes > to non-livepatch module.
Could you please explain why klp_free_patch_finish() will impact the non-livepatch module ? > Is that really a safe way to do so? Could you pls elaborate how you practice the kpatch replace mode in your production environment? Have you notice the commit df1e98f2c74 ("kpatch: rmmod module of the same name before loading a module") in the kpatch userspace tool that tries to workaround this issue ? BTW, why do you think it is unsafe ? -- Regards Yafang