aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_base.cpp
diff options
context:
space:
mode:
authorkkoniuszy <120419423+kkoniuszy@users.noreply.github.com>2023-06-01 17:21:22 +0200
committerkkoniuszy <120419423+kkoniuszy@users.noreply.github.com>2023-06-01 22:57:27 +0200
commit802d30d421e712ac27bc941f40643628d980c460 (patch)
tree19ef36314f2f334a8ef93a6f76e002bcc09f678a /src/video_core/renderer_base.cpp
parent31cbf3037df90d4e4068835bb52afac6c18203d9 (diff)
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/video_core/renderer_base.cpp')
0 files changed, 0 insertions, 0 deletions