include/linux/liveupdate.h | 11 +++++++++-- kernel/liveupdate/luo_flb.c | 20 ++++++++++++++------ 2 files changed, 23 insertions(+), 8 deletions(-)
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
On Thu, May 28, 2026 at 05:41:38PM +0000, David Matlack wrote: > 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/ We are late in the release cycle and since there no in-tree flb users let's postpone this after rc1. > 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 > -- Sincerely yours, Mike.
On Thu, Jun 04 2026, Mike Rapoport wrote: > On Thu, May 28, 2026 at 05:41:38PM +0000, David Matlack wrote: >> 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/ > > We are late in the release cycle and since there no in-tree flb users let's > postpone this after rc1. Yes, I agree. [...] -- Regards, Pratyush Yadav
© 2016 - 2026 Red Hat, Inc.