folio_test_uptodate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

folio_test_uptodate β€” Is this folio up to date?

okay so bestie, welcome to the Kernel API Manual corner of the group chat 😌✨ this page is literally all about folio_test_uptodate(9), and it’s giving β€œquick vibe check for folios” energy πŸ’…


✨ SYNOPSIS ✨

bool folio_test_uptodate (const struct folio *folio );

πŸŽ€ ARGUMENTS πŸŽ€

  • folio β€” The folio. That’s the one we’re checking, periodt. πŸ’–

πŸ’œ DESCRIPTION πŸ’œ

The uptodate flag is set on a folio when every byte in the folio is at least as new as the corresponding bytes on storage. No cap. ✨

Anonymous and CoW folios are always uptodate β€” like, always always, main character energy πŸ‘‘πŸ¦‹

If the folio is not uptodate, some of the bytes in it may be; see the is_partially_uptodate address_space operation. iykyk 😭

🌈 SEE ALSO 🌈

Kernel file ./include/linux/page-flags.h has the receipts 🫢


cute sign-off bestie πŸŽ€ source/version situation is ./include/linux, date is October 2026, and yeah the title is literally folio_test_uptodate(9). byeee πŸ’–πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from