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

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

 



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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux