__putback_isolated_page(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– __putback_isolated_page β€” a Kernel API Manual moment πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for __putback_isolated_page(9). it's a whole vibe, it's giving "put it back where you found it", and honestly we're obsessed 🫢


✨ NAME ✨

__putback_isolated_page β€” Return a now-isolated page back where we got it 🌸

like literally, it's the uno reverse card for a page πŸ¦‹


✨ SYNOPSIS ✨

void __putback_isolated_page (struct page *page , unsigned int order ,
int mt );

that's the whole signature, no cap πŸ’…


✨ ARGUMENTS ✨

  • page β€” Page that was isolated πŸŽ€ the actual little guy we're returning
  • order β€” Order of the isolated page ⭐ its size energy, iykyk
  • mt β€” The page's pageblock's migratetype 🌈 the migratetype of the pageblock that page belongs to

✨ DESCRIPTION ✨

so here's the tea β˜•: this function is meant to return a page pulled from the free lists via __isolate_free_page back to the free lists they were pulled from. that's it, that's the whole job 🧚

like, it went out, it had its little main character era on the isolated side, and now it goes home. periodt πŸ’…βœ¨


✨ SEE ALSO ✨

bestie, this list is LONG and we're respecting every single one of them πŸ’– no skipping, no summarising, we don't do that here 🫢

Kernel file ./mm/page_alloc.c and all its friends:

like... a whole friend group πŸ˜­πŸ‘‘


and that's the page, bestie! πŸŽ€ this little icon lives in the source dir ./mm, and the manual's dated October 2026 β€” so yeah, it's a __putback_isolated_page(9) situation from ./mm, October 2026, signed sealed delivered πŸ’Œ mwah πŸ’‹

πŸ“¦ where this page comes from