Re: [PATCH v6] livepatch: Clear relocation targets on a module removal

From
Song Liu <song@kernel.org>
Date
2022-11-18 17:15:05
Also in
live-patching, lkml
Reply to
Petr Mladek, 2022-11-18
Hi Petr,

On Fri, Nov 18, 2022 at 8:24 AM Petr Mladek [off-list ref] wrote:
On Thu 2022-09-01 10:12:52, Song Liu wrote:
[...]
quoted
 arch/powerpc/kernel/module_32.c |  10 ++++
 arch/powerpc/kernel/module_64.c |  49 +++++++++++++++
 arch/s390/kernel/module.c       |   8 +++
 arch/x86/kernel/module.c        | 102 +++++++++++++++++++++++---------
 include/linux/moduleloader.h    |   7 +++
 kernel/livepatch/core.c         |  41 ++++++++++++-
First, thanks a lot for working on this.

I can't check or test the powerpc and s390 code easily.

I am going to comment only x86 and generic code. It looks good
but it needs some changes to improve maintainability.
Thanks for these comments and suggestions. I will work on them
and send v4.

Song
Thread (27 messages) 27 messages, 5 authors, last reply 2022-12-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help