kho_preserve_folio(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ”₯

  • 0 on success πŸŽ‰
  • an error code on failure 😭

🧚 SEE ALSO 🧚

Kernel file ./kernel/liveupdate/kexec_handover.c β€” that's where the magic lives πŸ’œ

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