1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-01-29 11:06:57 -06:00
kkoniuszy 584e8b5c52 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.
2023-06-01 22:57:27 +02:00
..
2023-03-12 11:33:01 -04:00
2023-04-02 19:02:04 -04:00
2022-07-27 12:53:49 +02:00