folio_batch...exceptionals(9)
π folio_batch_remove_exceptionals π
Welcome to the Kernel API Manual, bestie β todayβs main character is folio_batch_remove_exceptionals, and she is literally all about pruning non-folios from a batch. β¨
π NAME π
folio_batch_remove_exceptionals β prune non-folios from a batch. Thatβs the whole assignment, and she ate. π
β¨ SYNOPSIS β¨
void folio_batch_remove_exceptionals (struct folio_batch *fbatch );
π ARGUMENTS π
fbatchβ the batch to prune. Thatβs it, thatβs the whole argument, bestie. π«Ά
π¦ DESCRIPTION π¦
Okay so find_get_entries fills a batch with both folios and shadow/swap/DAX entries. This function prunes all the non-folio entries from fbatch without leaving holes, so that it can be passed on to folio-only batch operations. Cleanup queen behavior, no cap. π₯
π SEE ALSO π
- Kernel file
./mm/folio.c folio_mark_accessed(9)folio_add_lru(9)folio_add_lru_vma(9)deactivate_file_folio(9)folio_mark_lazyfree(9)lru_cache_drain_for_folio(9)folios_put_refs(9)release_pages(9)
xoxo, your Unix bestie π
β from ./mm, October 2026 π
π¦ 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