free_mem_extents(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– free_mem_extents(9) β€” a kernel API manual moment πŸ’–

okay so bestie, welcome to the section 9 girlies β€” this is kernel API manual territory, where we talk about functions the kernel calls on itself, not the stuff you type into a shell. and today's main character is free_mem_extents, which is exactly what it says on the tin: it frees a list of memory extents. that's it. that's the whole vibe. πŸŽ€


✨ NAME ✨

free_mem_extents β€” free a list of memory extents, no cap πŸ’…


🌸 SYNOPSIS 🌸

void free_mem_extents (struct list_head *list );

literally that's the whole signature. void β€” she returns nothing, she's done when she's done, periodt. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • list β€” the list of extents to free. that's the list. the extents in it? they get freed. iconic behaviour, honestly.

πŸ‘‘ SEE ALSO πŸ‘‘

okay this is the part where the manpage just goes full group-chat roster and tags everyone in the kernel file ./kernel/power/snapshot.c. not me listing all 26 of them, but here we are, and honestly every single one ate:

like… the whole hibernation/snapshot friend group showed up to the function. iykyk πŸ’œ

and yeah, they're all in ./kernel/power/snapshot.c β€” go say hi, they don't bite 🧚

and that's the page, bestie! 🌈 this lil kernel API manual entry lives in ./kernel/power and it's dated October 2026 β€” so when you're reading it, know that future-you said hi. slay, bye! πŸ’–βœ¨πŸ“

πŸ“¦ where this page comes from