3 ms·
> if overcommit is disabled, then the system drops its internal caches (dentry cache, pagecache) to satisfy a memory allocation. Couldn't the system just reser
by josefx 5y ago
> if overcommit is disabled, then the system drops its internal caches (dentry cache, pagecache) to satisfy a memory allocation.
Couldn't the system just reserve the pages for future use by the application but still use them for caching until the application actually tries to use them?
- yc12340 5y agoThis sounds like it would cause LRU caches to lose their LRU properties...
- josefx 5y agoIt doesn't need to reserve a specific page during allocation, just ensure that the number of reserved pages is smaller than the total amount of pages. I would expect at least read only caches to mostly behave like they currently do on a system with over commit enabled.