absent_pages_in_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ absent_pages_in_range(9) ✨

okay bestie, so this is a page from the Kernel API Manual and honestly? it's a little sleeper hit. it lives in absent_pages_in_range(9) and it's about counting the holes. the empty spots. the missing page frames. the void, basically. πŸ•³οΈπŸ‘€


πŸ’– NAME πŸ’–

absent_pages_in_range β€” literally just returns the number of page frames chillin' inside the holes within a range. that's it. that's the whole gig. πŸ’…


🌸 SYNOPSIS 🌸

unsigned long absent_pages_in_range (unsigned long start_pfn , unsigned long end_pfn );

so you hand it two unsigned long PFNs and it hands you back an unsigned long. no cap. very unsigned long core of it. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • start_pfn β€” the start PFN, aka where you begin searching for holes. your starting line. your opening scene. πŸŒ…
  • end_pfn β€” the end PFN, aka where you stop searching for holes. the search wraps up here, bestie. 🏁

πŸ¦‹ RETURN πŸ¦‹

it gives you back the number of pages frames in memory holes within a range. yes, "pages frames." that's what the original says, and we do not correct the icon. periodt. 😌✨


⭐ SEE ALSO ⭐

go read those next, iykyk. πŸ”₯


heads up bestie: ./mm is where this page calls home, so that's the directory to keep in your brain. πŸ§ πŸ’œ

that's a wrap, bestie πŸ’– this page came straight outta ./mm and it's dated October 2026 β€” so yes, it's from the future, and yes, it still ate. πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from