kho_preserve_folio(9)
π kho_preserve_folio(9) π
okay so bestie, welcome to the Kernel API Manual β this is the kho_preserve_folio page and it's literally about saving a folio across kexec, no cap β¨
πΈ NAME πΈ
kho_preserve_folio β preserve a folio across kexec π
π¦ SYNOPSIS π¦
int kho_preserve_folio (struct folio *folio );
π ARGUMENTS π
folioβ the folio you want to preserve. that's the whole vibe bestie π«Ά
β¨ DESCRIPTION β¨
so what it does: it instructs KHO to preserve the whole folio across kexec. the whole thing. not a little piece. the whole folio, periodt π
and the order gets preserved as well β yes bestie, the order stays, it's not out here losing information π
π₯ RETURN π₯
0on success π- an error code on failure π
π§ SEE ALSO π§
Kernel file ./kernel/liveupdate/kexec_handover.c β that's where the magic lives π
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_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)
like, the whole friend group is there, go say hi π«Ά
and that's the page bestie!! this little icon came from ./kernel/liveupdate and it's dated October 2026 β slay, go preserve some folios responsibly π
ππ
π¦ 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