kho_unpreserve_pages(9)
π kho_unpreserve_pages(9)
okay bestie, welcome to the kernel API manual β this one lives in the kho_unpreserve_pages corner of the universe and honestly it's giving "short but important" main character energy β¨
πΈ NAME πΈ
kho_unpreserve_pages β unpreserve contiguous pages. that's it, that's the whole vibe π
π¦ SYNOPSIS π¦
void kho_unpreserve_pages (struct page *page , unsigned long nr_pages );
literally just a void function, no return value, no drama, no notes π
β ARGUMENTS β
pageβ the first page in the list. bestie, this is where the party starts π«Άnr_pagesβ number of pages. like, how many we're talking about here π₯
π DESCRIPTION π
so here's the tea β β this function instructs KHO to unpreserve nr_pages contiguous pages starting from page.
β οΈ and this part is important, so listen up: you must call this with the samepageandnr_pagesas the correspondingkho_preserve_pagescall. matching set, no mix and match, iykyk π
and ngl, unpreserving arbitrary sub-ranges of larger preserved blocks is not supported. so don't try to get cute with a lil slice of a big block β it's not gonna slay, it's just gonna fail π periodt.
π SEE ALSO π
kernel file ./kernel/liveupdate/kexec_handover.c β go read it, it's right there π
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_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 here π§π
okay that's the page!! this one's from the ./kernel/liveupdate source, dated October 2026 β go off, kernel girlies, see u in the next manpage πβ¨π
π¦ 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