summaryrefslogtreecommitdiff
path: root/src/common/error.cpp
diff options
context:
space:
mode:
authorGravatar kkoniuszy2023-06-01 17:21:22 +0200
committerGravatar kkoniuszy2023-06-01 22:57:27 +0200
commit584e8b5c52db95a92f818a0fc1b2a64f8a42e524 (patch)
tree19ef36314f2f334a8ef93a6f76e002bcc09f678a /src/common/error.cpp
parentMerge pull request #10541 from zhaobot/tx-update-20230601030142 (diff)
downloadyuzu-584e8b5c52db95a92f818a0fc1b2a64f8a42e524.tar.gz
yuzu-584e8b5c52db95a92f818a0fc1b2a64f8a42e524.tar.xz
yuzu-584e8b5c52db95a92f818a0fc1b2a64f8a42e524.zip
host_memory: merge adjacent placeholder mappings on Linux
Track the private anonymous placeholder mappings created by Unmap() and wherever possible, replace existing placeholders with larger ones instead of creating many small ones. This helps with the buildup of mappings in /proc/YUZU_PID/maps after a longer gaming session, improving stability without having to increase vm.max_map_count to a ridiculous value. The amount of placeholder mappings will no longer outgrow the amount of actual memfd mappings in cases of high memory fragmentation.
Diffstat (limited to 'src/common/error.cpp')
0 files changed, 0 insertions, 0 deletions