pcpu_reclaim_populated(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pcpu_reclaim_populated(9) β€” Kernel API Manual πŸ’–

okay bestie, this is the pcpu_reclaim_populated(9) page, and it's giving very specific kernel-core energy. iykyk ✨ Let's get into it.

🌸 NAME 🌸

pcpu_reclaim_populated β€” scan over to_depopulate chunks and free empty pages

✨ SYNOPSIS ✨

void pcpu_reclaim_populated (void );

that's the whole signature, no cap. πŸ’…

πŸŽ€ ARGUMENTS πŸŽ€

  • void β€” no arguments. literally none, bestie. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

  • Scan over chunks in the depopulate list and try to release unused populated pages back to the system. 🌈
  • Depopulated chunks are sidelined to prevent repopulating these pages unless required.
  • Fully free chunks are reintegrated and freed accordingly (1 is kept around). πŸ‘‘
  • If we drop below the empty populated pages threshold, reintegrate the chunk if it has empty free pages.
  • Each chunk is scanned in reverse order to keep populated pages close to the beginning of the chunk. πŸ¦‹

πŸ’œ CONTEXT πŸ’œ

pcpu_lock (can be dropped temporarily). 🫢

🌈 SEE ALSO 🌈


okay that's the whole page, bestie! source/version: ./mm · date: October 2026 · and the main character of this whole thing is pcpu_reclaim_populated(9). bye, ily! 🫢✨

πŸ“¦ where this page comes from