include/linux/liveupdate.h | 9 ++++++- kernel/liveupdate/luo_flb.c | 52 ++++++++++++++++++------------------- lib/tests/liveupdate.c | 3 +++ 3 files changed, 37 insertions(+), 27 deletions(-)
This series can be found on GitHub: https://github.com/dmatlack/linux/tree/liveupdate/flb/refcount/v1 This series has 2 patches to improve how FLB refcounting works in preparation for using FLB in the PCI core. The first patch converts the existing refcounting to use refcount_t, and the second patch allows users of the incoming FLB to hold references to the FLB to avoid it getting freed. Users of the outgoing FLB don't need to take an extra reference yet since it's always done in the context of a preserve/unpreserve file callback, which are already synchronized with outgoing FLB creation and destruction. This series has been tested against the existing Live Update selftests (liveupdate, luo_kexec_simple, and luo_multi_session) on an Intel EMR host. David Matlack (2): liveupdate: Use refcount_t for FLB reference counts liveupdate: Reference count incoming FLB data include/linux/liveupdate.h | 9 ++++++- kernel/liveupdate/luo_flb.c | 52 ++++++++++++++++++------------------- lib/tests/liveupdate.c | 3 +++ 3 files changed, 37 insertions(+), 27 deletions(-) base-commit: 2a4c0c11c0193889446cdb6f1540cc2b9aff97dd -- 2.54.0.rc2.544.gc7ae2d5bb8-goog
On Thu, 23 Apr 2026 17:40:27 +0000, David Matlack wrote:
> This series can be found on GitHub:
>
> https://github.com/dmatlack/linux/tree/liveupdate/flb/refcount/v1
>
> This series has 2 patches to improve how FLB refcounting works in
> preparation for using FLB in the PCI core. The first patch converts the
> existing refcounting to use refcount_t, and the second patch allows
> users of the incoming FLB to hold references to the FLB to avoid it
> getting freed.
>
> [...]
Applied, thanks!
[1/2] liveupdate: Use refcount_t for FLB reference counts
commit: 710153dabf699840887bc4f58e8a3da5afdbc607
[2/2] liveupdate: Reference count incoming FLB data
commit: 74d1099bb4edfca3ce6edc61dbacbed96720034c
Best regards,
--
Pasha Tatashin <pasha.tatashin@soleen.com>
Please include kexec@lists.infradead.org so the patches are tested by Sashiko, and added to patchwork that we are using to maintaine live update work. Pasha On 04-23 17:40, David Matlack wrote: > This series can be found on GitHub: > > https://github.com/dmatlack/linux/tree/liveupdate/flb/refcount/v1 > > This series has 2 patches to improve how FLB refcounting works in > preparation for using FLB in the PCI core. The first patch converts the > existing refcounting to use refcount_t, and the second patch allows > users of the incoming FLB to hold references to the FLB to avoid it > getting freed. > > Users of the outgoing FLB don't need to take an extra reference yet > since it's always done in the context of a preserve/unpreserve file > callback, which are already synchronized with outgoing FLB creation > and destruction. > > This series has been tested against the existing Live Update selftests > (liveupdate, luo_kexec_simple, and luo_multi_session) on an Intel EMR > host. > > > David Matlack (2): > liveupdate: Use refcount_t for FLB reference counts > liveupdate: Reference count incoming FLB data > > include/linux/liveupdate.h | 9 ++++++- > kernel/liveupdate/luo_flb.c | 52 ++++++++++++++++++------------------- > lib/tests/liveupdate.c | 3 +++ > 3 files changed, 37 insertions(+), 27 deletions(-) > > > base-commit: 2a4c0c11c0193889446cdb6f1540cc2b9aff97dd > -- > 2.54.0.rc2.544.gc7ae2d5bb8-goog >
On Thu, Apr 23, 2026 at 11:13 AM Pasha Tatashin <pasha.tatashin@soleen.com> wrote: > > Please include kexec@lists.infradead.org so the patches are tested by > Sashiko, and added to patchwork that we are using to maintaine live > update work. Sure. Should we add kexec@lists.infradead.org to "LIVE UPDATE" in MAINTAINERS then? That way scripts/get_maintainers.pl works.
© 2016 - 2026 Red Hat, Inc.