damon_updat..._access_rate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… damon_update_region_access_rate β€” Kernel API Manual

okay so bestie, we're in the Kernel API Manual today and this one is literally called damon_updat..._access_rate(9) (yes the title got truncated, she's mysterious like that, we love a mysterious icon ✨). Anyway. Sit down, hydrate, let's get into it 🫢


✨ NAME ✨

damon_update_region_access_rate β€” the little function whose whole job is updating the access rate of a region. That's it. That's the gig. πŸ’…


🌸 SYNOPSIS 🌸

void damon_update_region_access_rate (struct damon_region *r , bool
accessed );

no cap, that's the whole signature. she's void, she returns nothing, she simply does the thing and leaves 😌


πŸŽ€ ARGUMENTS πŸŽ€

  • r β€” the DAMON region you're updating, because it just got its access-check result and you're writing that glow-up into it πŸ’–
  • accessed β€” a bool telling you whether the region actually got accessed during the last sampling interval. yes or no, that's the vibe check πŸ”₯

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea: this function updates the access rate of a region using that region's last sampling interval access check result. Region's got a result, the result goes in, the access rate gets updated. done. slay πŸ’…

And like, lowkey important β€” usually this is called by the damon_operations->check_accesses callback. not you, bestie, the callback. iykyk 🧚


🌈 SEE ALSO 🌈

the whole friend group, fr fr β€” plus the kernel file they all live in:


⭐ and that's the page!! this icon lives in ./mm/damon, timestamped October 2026, and her name in the footer is the same mysterious damon_updat..._access_rate(9) πŸ’œ okay bye bestie, go update some regions, periodt πŸ‘‘

πŸ“¦ where this page comes from