kho_restore_vmalloc(9)
π NAME π
okay so kho_restore_vmalloc(9) is here, fresh from the Kernel API Manual, and sheβs literally the glow-up queen for vmalloc areas. She recreates and populates an area in vmalloc address space from the preserved memory. No cap. π«Ά
β¨ SYNOPSIS β¨
void * kho_restore_vmalloc (const struct kho_vmalloc *preservation );
π ARGUMENTS π
preservationβ preservation metadata. Thatβs the whole vibe. π
π¦ DESCRIPTION π¦
Okay so picture this: kho_restore_vmalloc recreates an area in vmalloc address space and populates it with memory that was preserved using kho_preserve_vmalloc. Itβs giving βrestoration era,β and honestly? Obsessed. β¨
πΈ RETURN πΈ
pointer to the area in the vmalloc address space, NULL on failure.
bestie, failure means NULL β not a cute look, but at least itβs clear. π
π₯ SEE ALSO π₯
Kernel file ./kernel/liveupdate/kexec_handover.c
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_unpreserve_vmalloc(9)kho_alloc_preserve(9)kho_unpreserve_free(9)kho_restore_free(9)is_kho_boot(9)kho_retrieve_subtree(9)
xoxo, your fave Unix girl π β source/version: ./kernel/liveupdate, date: October 2026. she ate and left no crumbs. π
π¦ 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