kho_unpreserve_vmalloc(9)
β¨ kho_unpreserve_vmalloc(9) β¨
okay so bestie, we're in the Kernel API Manual today and this one's called kho_unpreserve_vmalloc β say that five times fast, i dare you π
π NAME π
kho_unpreserve_vmalloc β unpreserve memory allocated with vmalloc()
π¦ SYNOPSIS π¦
void kho_unpreserve_vmalloc (struct kho_vmalloc *preservation );
πΈ ARGUMENTS πΈ
preservationβ the preservation metadata that was handed back to you bykho_preserve_vmalloc. like, the receipt for the thing you preserved. keep it safe, you literally need it here π«Ά
π DESCRIPTION π
So here's the vibe: this function tells KHO to unpreserve the area in vmalloc address space that you previously preserved with kho_preserve_vmalloc. that's it, that's the whole plot β¨ it's the undo button for a preservation, no cap.
π SEE ALSO π
Kernel file ./kernel/liveupdate/kexec_handover.c β go read the source, it's giving main character energy π₯
kho_encode_radix_key(9)kho_decode_radix_key(9)kho_radix_add_key(9)kho_radix_del_key(9)kho_radix_init_tree(9)kho_radix_destroy_tree(9)kho_radix_walk_tree(9)kho_restore_folio(9)kho_restore_pages(9)kho_reserve_scratch(9)kho_add_subtree(9)kho_preserve_folio(9)kho_unpreserve_folio(9)kho_preserve_pages(9)kho_unpreserve_pages(9)kho_preserve_vmalloc(9)kho_restore_vmalloc(9)kho_alloc_preserve(9)kho_unpreserve_free(9)kho_restore_free(9)is_kho_boot(9)kho_retrieve_subtree(9)
like, the whole friend group fr fr π
mwah, that's a wrap π this lil page lives in ./kernel/liveupdate and it's dated October 2026 β stan a manpage with a timestamp, periodt π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms