[PATCH v4 3/4] kho: add support for preserving vmalloc allocations
Pratyush Yadav
pratyush at kernel.org
Thu Sep 18 03:33:56 PDT 2025
On Wed, Sep 17 2025, Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)" <rppt at kernel.org>
>
> A vmalloc allocation is preserved using binary structure similar to
> global KHO memory tracker. It's a linked list of pages where each page
> is an array of physical address of pages in vmalloc area.
>
> kho_preserve_vmalloc() hands out the physical address of the head page
> to the caller. This address is used as the argument to
> kho_vmalloc_restore() to restore the mapping in the vmalloc address
> space and populate it with the preserved pages.
>
> Signed-off-by: Mike Rapoport (Microsoft) <rppt at kernel.org>
Reviewed-by: Pratyush Yadav <pratyush at kernel.org>
[...]
--
Regards,
Pratyush Yadav
More information about the kexec
mailing list