Re: [PATCH v5 3/4] kho: add support for preserving vmalloc allocations
From: Pratyush Yadav
Date: Mon Sep 22 2025 - 09:50:49 EST
On Sun, Sep 21 2025, Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)" <rppt@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Reviewed-by: Pratyush Yadav <pratyush@xxxxxxxxxx>
For the new kho_restore_pages() as well:
Reviewed-by: Pratyush Yadav <pratyush@xxxxxxxxxx>
Thanks for working on this series!
[...]
--
Regards,
Pratyush Yadav