diff options
author | Petr Mladek <[email protected]> | 2019-10-30 16:43:09 +0100 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2019-11-01 13:08:08 +0100 |
commit | 7e35e4eb7e56233dcf445992d7b835a9ba93408e (patch) | |
tree | 37f5a3373196c3c9819a62b5e12f5e033eaf4173 /scripts/bpf_helpers_doc.py | |
parent | 9f7582d15f82e86b2041ab22327b7d769e061c1f (diff) |
livepatch: Keep replaced patches until post_patch callback is called
Pre/post (un)patch callbacks might manipulate the system state. Cumulative
livepatches might need to take over the changes made by the replaced
ones. For this they might need to access some data stored or referenced
by the old livepatches.
Therefore the replaced livepatches have to stay around until post_patch()
callback is called. It is achieved by calling the free functions later.
It is the same location where disabled livepatches have already been
freed.
Link: http://lkml.kernel.org/r/[email protected]
To: Jiri Kosina <[email protected]>
Cc: Kamalesh Babulal <[email protected]>
Cc: Nicolai Stange <[email protected]>
Cc: [email protected]
Cc: [email protected]
Acked-by: Miroslav Benes <[email protected]>
Acked-by: Joe Lawrence <[email protected]>
Acked-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions