kho_unpreserve_folio(9)
β¨ kho_unpreserve_folio(9) β¨
okay so bestie, welcome to the Kernel API Manual page for kho_unpreserve_folio β yes the (9) means it's a kernel-internal function, we're in the big leagues now π
πΈ NAME πΈ
kho_unpreserve_folio β unpreserve a folio. that's it. that's the whole vibe. π
π¦ SYNOPSIS π¦
void kho_unpreserve_folio (struct folio *folio );
literally one argument, returns nothing, no cap. lowkey iconic for how simple it is β¨
π ARGUMENTS π
folioβ the folio to unpreserve. that's the one you're un-preserving. the star of the show. π«Ά
π DESCRIPTION π
so here's the tea β β this function instructs KHO to unpreserve a folio that was preserved by kho_preserve_folio before. like, it's the undo button, but only for things you actually did. π
β οΈ bestie listen β the provided folio (pfn and order) must exactly match a previously preserved folio. exactly. not "close enough", not "same neighborhood". exact match or it's not gonna slay. π
π₯ SEE ALSO π₯
Kernel file ./kernel/liveupdate/kexec_handover.c β that's where the magic lives, go read it, iykyk π
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_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)
and that's the whole page, bestie π this gem comes to you from ./kernel/liveupdate, dropped in October 2026 β go forth and unpreserve responsibly, mwah ππ§ββοΈ
π¦ 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