folio_putback_hugetlb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– folio_putback_hugetlb πŸ’–

okay so bestie, welcome to the folio_putback_hugetlb(9) page β€” it's a kernel API manual moment and honestly it's giving "small function, big responsibility" ✨


🌸 NAME 🌸

folio_putback_hugetlb β€” unisolate a hugetlb folio πŸ¦‹

like, it puts the folio back. that's the whole vibe. periodt.


✨ SYNOPSIS ✨

void folio_putback_hugetlb (struct folio *folio );

literally that's it, no return value, no drama, just vibes and a pointer πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • folio β€” the isolated hugetlb folio πŸ‘‘ that's the one you're putting back, the one that's currently in its isolated era

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea β˜• β€” this function does the putback / un-isolate thing for a hugetlb folio that was previously isolated using folio_isolate_hugetlb. you're basically undoing the isolation arc 😭

what that actually means, fr fr:

  • it marks the folio non-isolated / migratable again 🧚
  • and it puts it back onto the active list 🌈

and there's a bonus detail that's lowkey important β€” it will drop the additional folio reference that you got through folio_isolate_hugetlb 🫢. so yeah, the reference that came with the isolation? it's leaving. it's gone. gorgeous. πŸ’€

ngl bestie, keep track of that reference drop, because that's the part that actually matters πŸ‘€

πŸ¦‹ SEE ALSO πŸ¦‹


and that's the page!! mwah πŸ’‹ this one came from ./mm, serve date October 2026, and the whole thing is filed under folio_putback_hugetlb(9) β€” go put those folios back where they belong, bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from