Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
drdexebtjl
18 days ago
|
parent
|
context
|
favorite
| on:
FreeBSD ate my RAM
> You can't determine how much of the memory can actually be reclaimed under memory pressure until you try to reclaim it.
Yes, and I’m arguing that we should be able to, by having the kernel keep track.
man8alexd
17 days ago
[–]
The kernel keeps track of active/inactive pages by scanning page tables during the reclaim process. It only scans until it finds enough inactive pages to reclaim. Scanning all pages all the time is very expensive from a performance point of view.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Yes, and I’m arguing that we should be able to, by having the kernel keep track.