[PATCH v5 3/4] kho: add support for preserving vmalloc allocations
Pratyush Yadav
pratyush at kernel.org
Mon Sep 22 06:50:46 PDT 2025
On Sun, Sep 21 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>
For the new kho_restore_pages() as well:
Reviewed-by: Pratyush Yadav <pratyush at kernel.org>
Thanks for working on this series!
[...]
--
Regards,
Pratyush Yadav
More information about the kexec
mailing list