Re: [PATCH 02/21] PCI: Add API to track PCI devices preserved across Live Update
From: Pasha Tatashin
Date: Sat Nov 29 2025 - 15:15:52 EST
> +static void pci_flb_unpreserve(struct liveupdate_flb_op_args *args)
> +{
> + struct pci_ser *ser = args->obj;
> + struct folio *folio = virt_to_folio(ser);
> +
> + WARN_ON_ONCE(ser->nr_devices);
> + kho_unpreserve_folio(folio);
> + folio_put(folio);
Here, and in other places in this series, I would use:
https://lore.kernel.org/all/20251114190002.3311679-4-pasha.tatashin@xxxxxxxxxx
kho_alloc_preserve(size_t size)
kho_unpreserve_free(void *mem)
kho_restore_free(void *mem)
Pasha