__putback_isolated_page(9)
π __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 returningorderβ Order of the isolated page β its size energy, iykykmtβ 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:
__get_pfnblock_flags_mask(9)get_pfnblock_bit(9)get_pfnblock_migratetype(9)__set_pfnblock_flags_mask(9)set_pfnblock_bit(9)clear_pfnblock_bit(9)set_pageblock_migratetype(9)__move_freepages_block_isolate(9)__free_pages(9)free_pages(9)alloc_pages_exact(9)alloc_pages_exact_nid(9)free_pages_exact(9)nr_free_zone_pages(9)nr_free_buffer_pages(9)find_next_best_node(9)free_reserved_pages(9)setup_per_zone_wmarks(9)__free_contig_range(9)alloc_contig_frozen_range(9)alloc_contig_range(9)alloc_contig_frozen_pages(9)alloc_contig_pages(9)free_contig_frozen_range(9)free_contig_range(9)alloc_pages_nolock(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms