Thread (38 messages) 38 messages, 5 authors, 2020-04-07

Re: [POC 11/23] livepatch: Safely detect forced transition when removing split livepatch modules

From: Julien Thierry <hidden>
Date: 2020-01-22 10:15:20
Also in: lkml

Hi Petr,

On 1/17/20 3:03 PM, Petr Mladek wrote:
The information about forced livepatch transition is currently stored
in struct klp_patch. But there is not any obvious safe way how to
access it when the split livepatch modules are removed.
If that's the only motivation to do this, klp_objects could have a 
reference to the klp_patch they are part of. This could easily be set 
when adding the klp_object to the klp_patch->obj_list in 
klp_init_object_early() .

Having this reference could also prove useful in future scenarios.

Cheers,

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