On Tue, Nov 18, 2025 at 1:22 PM Pratyush Yadav <[email protected]> wrote:
>
> Before commit fa759cd75bce5 ("kho: allocate metadata directly from the
> buddy allocator"), the chunks were allocated from the slab allocator
> using kzalloc(). Those were rightly freed using kfree().
>
> When the commit switched to using the buddy allocator directly, it
> missed updating kho_mem_ser_free() to use free_page() instead of
> kfree().
>
> Fixes: fa759cd75bce5 ("kho: allocate metadata directly from the buddy 
> allocator")
> Signed-off-by: Pratyush Yadav <[email protected]>

Thank you for finding and fixing this issue.

Reviewed-by: Pasha Tatashin <[email protected]>

Reply via email to