Re: [PATCH] livepatch: Delete the associated module when replacing an old livepatch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 2, 2024 at 10:03 AM zhang warden <zhangwarden@xxxxxxxxx> 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





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux