folio_wait_private_2(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– folio_wait_private_2 πŸ’–

okay so bestie, this one lives in the Kernel API Manual (yes, the kernel kernel, main character energy only) and it's literally called folio_wait_private_2(9). Buckle up πŸŽ€


✨ NAME ✨

folio_wait_private_2 β€” bestie, it just waits for PG_private_2 to be cleared on a folio. that's it. that's the whole vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

void folio_wait_private_2 (struct folio *folio );

🧚 ARGUMENTS 🧚

  • folio β€” the folio you're waiting on, bestie. your one and only. the folio in question πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

So like. folio_wait_private_2 waits for PG_private_2 to be cleared on a folio. That's genuinely the whole thing β€” no cap, no hidden lore, no secret extra steps. You hand it a folio, it hangs out until PG_private_2 is cleared, and then it's done. Patient king behavior honestly πŸ‘‘βœ¨


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./mm/filemap.c, and then the whole entire friend group:

filemap_remove_folio(9), filemap_fdatawrite_range(9), filemap_flush_range(9), filemap_flush(9), filemap_range_has_page(9), filemap_fdatawait_range(9), filemap_fdatawait_range_keep_errors(9), file_fdatawait_range(9), filemap_fdatawait_keep_errors(9), filemap_write_and_wait_range(9), file_check_and_advance_wb_err(9), file_write_and_wait_range(9), replace_page_cache_folio(9), softleaf_entry_wait_on_locked(9), folio_put_wait_locked(9), folio_unlock(9), folio_end_read(9), folio_end_private_2(9), folio_wait_private_2_killable(9), folio_end_writeback_no_dropbehind(9), folio_end_writeback(9), __folio_lock(9), page_cache_next_miss(9), page_cache_prev_miss(9), __filemap_get_folio_mpol(9), find_get_entries(9), find_lock_entries(9), filemap_get_folios(9), filemap_get_folios_contig(9), filemap_get_folios_tag(9), filemap_get_folios_dirty(9), filemap_read(9), generic_file_read_iter(9), filemap_splice_read(9), mapping_seek_hole_data(9), filemap_fault(9), read_cache_folio(9), mapping_read_folio_gfp(9), read_cache_page_gfp(9), __generic_file_write_iter(9), generic_file_write_iter(9), filemap_release_folio(9), filemap_invalidate_inode(9), filemap_cachestat(9)

the way that's literally a whole group chat in one SEE ALSO section 😭 you're gonna want to @ all of them, iykyk 🫢

okay that's the page!! πŸ’– this lil baddie comes from ./mm and it's dated October 2026, and yeah, the header/footer both say folio_wait_private_2(9) because consistency is iconic. bye bestie, go wait on that folio πŸ’…βœ¨πŸŒˆ

πŸ“¦ where this page comes from