folio_lru_list(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ‘‘


that's the whole page, bestie β€” source/version: ./include/linux, date: October 2026. slay πŸ’…πŸŽ€

πŸ“¦ where this page comes from