free_image_page(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, welcome to free_image_page(9) from the Kernel API Manual β€” the page for the little function that frees a page allocated for a hibernation image. yes, that's the vibe: free_image_page β€” Free a page allocated for hibernation image. 🫢

✨ SYNOPSIS ✨

void free_image_page (void *addr , int clear_nosave_free );

πŸŽ€ ARGUMENTS πŸŽ€

  • addr β€” the address of the page you're freeing, bestie. literally where it lives.
  • clear_nosave_free β€” if this is set, clear the PageNosaveFree bit for the page. that's it, that's the job πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

the page you're freeing should have been allocated by get_image_page β€” and yes, the page flags set by it are affected. no cap, that's the important bit. 🧚

🌈 SEE ALSO 🌈

the kernel file is ./kernel/power/snapshot.c, and these are the related pages/functions you should also check out (iykyk):


xoxo, your kernel bestie πŸ’– β€” source/version: ./kernel/power; date: October 2026; manual page: free_image_page(9). slay and hydrate. πŸ“βœ¨

πŸ“¦ where this page comes from