kho_unpreserve_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 same page and nr_pages as the corresponding kho_preserve_pages call. 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 🌈

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