folio_use_access_time(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… folio_use_access_time β€” from the Kernel API Manual, section 9, bestie

okay so this one is a lil kernel function from the 9 section of the manual (that's the kernel API one, iykyk) and honestly? it's giving "just a quick check, no big deal" ✨


🌸 NAME 🌸

folio_use_access_time β€” check if a folio reuses cpupid for page access time 🫢

like literally, it's a yes-or-no vibe check on one single folio.


πŸŽ€ SYNOPSIS πŸŽ€

bool folio_use_access_time (struct folio *folio );

one argument, one boolean answer, that's the whole main character moment πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • folio β€” the folio to check. that's it. that's the argument. the folio. the one getting checked. πŸ‘‘

✨ DESCRIPTION ✨

okay so here's the tea β˜• β€” a folio's _last_cpupid field gets repurposed by memory tiering. like, it's got a whole second job now, no cap.

and in memory tiering mode specifically, the cpupid of a slow memory folio β€” and bestie, note that it's not toptier memory, we're talking slow memory only β€” is used to record page access time. πŸ•

so if you're wondering "hmm is this folio's _last_cpupid doing access-time duty or not", that's exactly what this function is here to tell you. slay.


πŸ”₯ RETURN πŸ”₯

the folio's _last_cpupid is used to record page access time βœ… (so like, the return value tells you whether that's the case β€” fr fr)


🌈 SEE ALSO 🌈

go read those too, they're literally the rest of the memory tiering friend group πŸ«ΆπŸ’œ


and that's the whole page, bestie πŸŽ€ β€” this one comes courtesy of ./mm, dated October 2026, and it's folio_use_access_time(9) all day. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from