Re: [POC 0/7] livepatch: Make livepatch states, callbacks, and shadow variables work together

From
Miroslav Benes <mbenes@suse.cz>
Date
2024-07-25 14:22:23
Also in
lkml
Reply to
Petr Mladek, 2023-11-10
Hi Petr,

On Fri, 10 Nov 2023, Petr Mladek wrote:
This POC is a material for the discussion "Simplify Livepatch Callbacks,
Shadow Variables, and States handling" at LPC 2013, see
https://lpc.events/event/17/contributions/1541/

It obsoletes the patchset adding the garbage collection of shadow
variables. This new solution is based on ideas from Nicolai Stange.
And it should also be in sync with Josh's ideas mentioned into
the thread about the garbage collection, see
https://lore.kernel.org/r/20230204235910.4j4ame5ntqogqi7m@treble (local)
looks good to me. It is a huge improvement I would say.

As you mention elsewhere, it would also be nice to include some 
documentation and samples in the next revision.

The selftests would need to be ported to the new infrastructure.

Do we still need klp_state->data member? Now that it can be easily coupled 
with shadow variables, is there a reason to preserve it?

Miroslav
Thread (22 messages) 22 messages, 4 authors, last reply 2024-08-16
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