Messages in this thread | | | Date | Tue, 8 Feb 2022 15:18:53 +0000 | From | Aaron Tomlin <> | Subject | Re: [RFC PATCH v4 03/13] module: Move livepatch support to a separate file |
| |
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
| |