Changes between Version 2 and Version 5 of Ticket #16622
- Timestamp:
- Nov 29, 2020, 3:50:04 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16622 – Description
v2 v5 6 6 7 7 Actually it is not required to reserve memory for read-only mapped files because it can be handled in similar way as disk cache: load file contents on demand and unload when memory is needed by someone else. This approach do not violate no overcommit policy. If program change area protection and enable copy-on-write, attempt may failed with out of memory if memory can't be reserved. 8 9 `system_info.used_pages` is calculated [https://xref.landonf.org/source/xref/haiku/src/system/kernel/vm/vm_page.cpp#4106 here].