linux/kernel/liveupdate
Pratyush Yadav b15515155a kho: free chunks using free_page() instead of kfree()
Before commit fa759cd75b ("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().

Link: https://lkml.kernel.org/r/20251118182218.63044-1-pratyush@kernel.org
Fixes: fa759cd75b ("kho: allocate metadata directly from the buddy allocator")
Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
Reviewed-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Cc: Alexander Graf <graf@amazon.com>
Cc: David Matlack <dmatlack@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-11-27 14:24:42 -08:00
..
Kconfig liveupdate: luo_core: Live Update Orchestrator 2025-11-27 14:24:37 -08:00
kexec_handover.c kho: free chunks using free_page() instead of kfree() 2025-11-27 14:24:42 -08:00
kexec_handover_debug.c liveupdate: kho: move to kernel/liveupdate 2025-11-27 14:24:33 -08:00
kexec_handover_debugfs.c kho: remove abort functionality and support state refresh 2025-11-27 14:24:36 -08:00
kexec_handover_internal.h kho: remove abort functionality and support state refresh 2025-11-27 14:24:36 -08:00
luo_core.c liveupdate: luo_core: add user interface 2025-11-27 14:24:38 -08:00
luo_file.c liveupdate: luo_file: add private argument to store runtime state 2025-11-27 14:24:40 -08:00
luo_internal.h liveupdate: luo_file: implement file systems callbacks 2025-11-27 14:24:38 -08:00
luo_session.c liveupdate: luo_session: add ioctls for file preservation 2025-11-27 14:24:39 -08:00
Makefile liveupdate: luo_file: implement file systems callbacks 2025-11-27 14:24:38 -08:00