Thread (39 messages) 39 messages, 8 authors, 2022-02-09

Re: [RFC PATCH v4 03/13] module: Move livepatch support to a separate file

flat view

From: Aaron Tomlin <hidden>
Date: 2022-02-08 15:19:02
Also in: live-patching, lkml

On Tue 2022-02-08 12:42 +0100, Petr Mladek wrote:
This should go to internal.h.

Alternative is to move both is_livepatch_module() and
set_livepatch_module() into include/linux/livepatch.h.

I do not have strong opinion.
Hi Petr,

Firstly, thank you for your feedback.

In my opinion, I believe is_livepatch_module() should remain as it may
continue to be used externally i.e., outside of kernel/module/; albeit,
indeed set_livepatch_module() should be moved to kernel/module/internal.h
given its use is exclusive to core code.


Kind regards,

-- 
Aaron Tomlin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help