folio_lru_list(9)
π folio_lru_list(9) β Kernel API Manual energy β¨
okay so bestie, welcome to the Kernel API Manual page for folio_lru_list β this is the little function that answers the very important question: which LRU list should a folio be on? π«Ά
πΈ NAME πΈ
folio_lru_list β which LRU list should a folio be on?
π¦ SYNOPSIS π¦
enum lru_list folio_lru_list (const struct folio *folio );
π ARGUMENTS π
folioβ the folio you're testing. That's literally it, that's the whole argument. π
π₯ RETURN π₯
It gives you the LRU list that a folio should be on, as an index into the array of LRU lists. index energy, no cap. β¨
π SEE ALSO π
- Kernel file
./include/linux/mm_inline.h folio_is_file_lru(9)__folio_clear_lru_flags(9)num_pages_contiguous(9)
that's the whole page, bestie β source/version: ./include/linux, date: October 2026. slay π
π
π¦ 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