aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/maxwell/translate_program.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
commit584e8b5c52db95a92f818a0fc1b2a64f8a42e524 (patch)
tree19ef36314f2f334a8ef93a6f76e002bcc09f678a /src/shader_recompiler/frontend/maxwell/translate_program.cpp
parent9d7131bc82bfcc403a43f178b84f22d14115ea7a (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/shader_recompiler/frontend/maxwell/translate_program.cpp')
0 files changed, 0 insertions, 0 deletions