check_move_...table_folios(9)
π check_move_...table_folios(9) π
okay so bestie, welcome to the Kernel API Manual β this is the page for check_move_unevictable_folios, and tbh it's a little legend hiding in ./mm. let's get into it β¨
πΈ NAME πΈ
check_move_unevictable_folios β moves evictable folios over to the appropriate zone lru list, no cap π«Ά
β¨ SYNOPSIS β¨
void check_move_unevictable_folios (struct folio_batch *fbatch );
that's it. that's the whole signature. iconic behaviour honestly π
π ARGUMENTS π
fbatchβ a batch of lru folios that need checking. that's the whole assignment bestie, it's just the pile of folios you're putting under the microscope π
π¦ DESCRIPTION π¦
so what does it do? it checks your folios for evictability β like a little vibe check but for memory pages π
if an evictable folio is sitting in the unevictable lru list (rude of it, honestly, wrong list, wrong energy), this function moves it to the appropriate evictable lru list where it actually belongs. slay. problem solved. β¨
β οΈ important bestie: this function should be only used for lru folios. that's the rule. don't be out here using it on random folios, it's giving chaos and we don't want that π
π SEE ALSO π
- Kernel file
./mm/vmscan.c writeback_throttling_sane(9)lruvec_lru_size(9)remove_mapping(9)folio_putback_lru(9)folio_isolate_lru(9)
go read those next, iykyk ππ
and that's the page!! mwah π this lil cutie lives in ./mm, dated October 2026, and it's filed under check_move_...table_folios(9) β go off, kernel bestie π§ββοΈπΈ
π¦ 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