unpin_user_folio(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ unpin_user_folio(9) ✨

okay bestie, welcome to the Kernel API Manual πŸ’… this is the page for unpin_user_folio(9) and honestly it's giving short-and-sweet main character energy πŸŽ€


🌸 NAME 🌸

unpin_user_folio β€” release pages of a folio 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

void unpin_user_folio (struct folio *folio , unsigned long npages );

like look at that signature, no notes, iconic ✨

πŸ’– ARGUMENTS πŸ’–

  • folio β€” pointer to the folio that's getting released, so basically the address of the thing we're unpinning πŸ’«
  • npages β€” the number of pages of that same folio, i.e. how many of its pages we're letting go πŸ”₯

πŸ‘‘ DESCRIPTION πŸ‘‘

Release npages of the folio πŸŽ€

that's it, that's the whole vibe. you hand it a folio and you hand it a number, and it releases that many pages of it. periodt πŸ’…

🌈 SEE ALSO 🌈

Kernel file ./mm/gup.c β€” go read it, iykyk πŸ‘€ β€” plus literally all of these besties:


bestie reminder from the fine print at the bottom: this one lives in ./mm and it's dated October 2026 ⭐ so like, that's the source and the date, go off πŸ’œ
πŸ“¦ where this page comes from