kho_restore_vmalloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so kho_restore_vmalloc(9) is here, fresh from the Kernel API Manual, and she’s literally the glow-up queen for vmalloc areas. She recreates and populates an area in vmalloc address space from the preserved memory. No cap. 🫢

✨ SYNOPSIS ✨

void * kho_restore_vmalloc (const struct kho_vmalloc *preservation );

πŸŽ€ ARGUMENTS πŸŽ€

  • preservation β€” preservation metadata. That’s the whole vibe. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so picture this: kho_restore_vmalloc recreates an area in vmalloc address space and populates it with memory that was preserved using kho_preserve_vmalloc. It’s giving β€œrestoration era,” and honestly? Obsessed. ✨

🌸 RETURN 🌸

pointer to the area in the vmalloc address space, NULL on failure.

bestie, failure means NULL β€” not a cute look, but at least it’s clear. 😭

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./kernel/liveupdate/kexec_handover.c


xoxo, your fave Unix girl πŸ’‹ β€” source/version: ./kernel/liveupdate, date: October 2026. she ate and left no crumbs. πŸ’–

πŸ“¦ where this page comes from