kho_restore_folio(9)
π¦ kho_restore_folio(9) π¦
okay bestie, welcome to the Kernel API Manual page for kho_restore_folio(9) β sheβs lowkey a whole main character in the liveupdate kernel file era β¨
π NAME π
kho_restore_folio β recreates the folio from the preserved memory. that's the whole assignment, no cap π
β¨ SYNOPSIS β¨
struct folio * kho_restore_folio (phys_addr_t phys );
yes bestie, thatβs the signature, right there in all its glory π
πΈ ARGUMENTS πΈ
physβ physical address of the folio. literally the physical address, keep it exact π«Ά
π RETURN π
pointer to the struct folio on success, NULL on failure. slay when it works, π when it doesnβt β but those are the only two outcomes listed here, periodt.
π₯ 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_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_restore_vmalloc(9)kho_alloc_preserve(9)kho_unpreserve_free(9)kho_restore_free(9)is_kho_boot(9)kho_retrieve_subtree(9)
mwah π β source/version: ./kernel/liveupdate, date: October 2026. now go restore that folio and be iconic, bestie π§π
π¦ 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