[PATCH 0/2] liveupdate: Small FLB fixes
David Matlack
dmatlack at google.com
Thu May 28 10:41:38 PDT 2026
This series has 2 small fixes to how FLBs are managed. First is to
increase the outgoing FLB refcount during liveupdate_flb_get_outgoing()
so it cannot be freed while the caller is using it, and to align with
the semantics of liveupdate_flb_get_incoming(). The second is to prevent
FLB retrieve() from being called multiple times if the first attempt
fails.
Both of these changes are needed for the correctness of the PCI core
support for Live Update:
https://lore.kernel.org/linux-pci/20260522202410.3104264-1-dmatlack@google.com/
David Matlack (2):
liveupdate: Reference count outgoing FLB data
liveupdate: Remember FLB retrieve() status
include/linux/liveupdate.h | 11 +++++++++--
kernel/liveupdate/luo_flb.c | 20 ++++++++++++++------
2 files changed, 23 insertions(+), 8 deletions(-)
base-commit: 5428435567cbe06c19914592fc22ca23c9ca1de5
--
2.54.0.823.g6e5bcc1fc9-goog
More information about the kexec
mailing list