kho_restore_folio(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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

mwah πŸ’‹ β€” source/version: ./kernel/liveupdate, date: October 2026. now go restore that folio and be iconic, bestie πŸ§šπŸ’œ

πŸ“¦ where this page comes from