folio_mark_lazyfree(9)
π folio_mark_lazyfree β Kernel API Manual β¨
okay bestie, welcome to the group chat for a tiny kernel function π«Ά this one lives in the Kernel API Manual, and it's lowkey iconic for what it does to a folio.
πΈ NAME
folio_mark_lazyfree β make an anon folio lazyfree π
β¨ SYNOPSIS
void folio_mark_lazyfree (struct folio *folio );
π ARGUMENTS
folioβ folio to deactivate π¦
π§ DESCRIPTION
folio_mark_lazyfree moves folio to the inactive file list. The whole point? It accelerates the reclaim of folio β so yeah, it's giving "let's make reclaim happen faster" energy π₯
π SEE ALSO
- Kernel file
./mm/folio.c folio_mark_accessed(9)folio_add_lru(9)folio_add_lru_vma(9)deactivate_file_folio(9)lru_cache_drain_for_folio(9)folios_put_refs(9)release_pages(9)folio_batch_remove_exceptionals(9)
mwah π that's the whole page, bestie β source/version is ./mm, and it's dated October 2026. periodt β¨π
π¦ 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