Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-12-15 | common: use memory holepunching when clearing memory | Liam | 1 | -9/+29 | |
2023-12-02 | host_memory: move MAP_ALIGNED_SUPER attempt after 448d4815dece | Jan Beich | 1 | -13/+11 | |
src/common/host_memory.cpp:410:14: error: unused function 'ChooseVirtualBase' [-Werror,-Wunused-function] 410 | static void* ChooseVirtualBase(size_t virtual_size) { | ^~~~~~~~~~~~~~~~~ | |||||
2023-12-02 | host_memory: allow missing MAP_NORESERVE on FreeBSD after 448d4815dece | Jan Beich | 1 | -0/+4 | |
src/common/host_memory.cpp:408:47: error: use of undeclared identifier 'MAP_NORESERVE' MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, -1, 0); ^ | |||||
2023-11-29 | cmake: Move HAS_NCE to root cmake | GPUCode | 1 | -1/+1 | |
* So we can use it in common | |||||
2023-11-27 | general: fix mac compile | Liam | 1 | -0/+2 | |
2023-11-25 | host_memory: Simplify randomness generation | GPUCode | 1 | -11/+2 | |
2023-11-25 | Address some review comments | GPUCode | 1 | -0/+3 | |
2023-11-25 | android: Add cpu bakend gui toggle | GPUCode | 1 | -3/+3 | |
2023-11-25 | arm: Implement native code execution backend | Liam | 1 | -5/+5 | |
2023-11-25 | core: Respect memory permissions in Map | GPUCode | 1 | -12/+33 | |
2023-11-25 | host_memory: Switch to FreeRegionManager | Liam | 1 | -29/+65 | |
2023-11-25 | host_memory: ensure map base is between 36 and 39 bits | Liam | 1 | -2/+58 | |
2023-06-03 | common: host_memory: Implement for Android. | bunnei | 1 | -2/+10 | |
2023-06-01 | host_memory: merge adjacent placeholder mappings on Linux | kkoniuszy | 1 | -0/+22 | |
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-03-12 | general: fix spelling mistakes | Liam | 1 | -2/+2 | |
2023-01-01 | host_memory: Use transparent huge pages where available | Merry | 1 | -0/+15 | |
2023-01-01 | host_memory: Allocate virtual_base with MAP_NORESERVE | Merry | 1 | -2/+2 | |
Specify that we do not require swap to be reserved for this address range; allow overcommitting. | |||||
2022-11-09 | Initial ARM64 support | Liam | 1 | -0/+6 | |
2022-04-23 | general: Convert source file copyright comments over to SPDX | Morph | 1 | -3/+2 | |
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later. | |||||
2022-04-07 | common: Replace lock_guard with scoped_lock | Merry | 1 | -2/+2 | |
2022-03-20 | general: Fix clang/gcc build errors | ameerj | 1 | -0/+1 | |
2022-03-19 | common: Reduce unused includes | ameerj | 1 | -1/+0 | |
2022-03-03 | host_memory: Fix fastmem crashes in debug builds | Morph | 1 | -2/+2 | |
It is possible for virtual_offset to not be 0 when the iterator is at the beginning, and thus, std::prev(it) may be evaluated, leading to a crash in debug mode. Co-Authored-By: Fernando S. <1731197+FernandoS27@users.noreply.github.com> | |||||
2021-12-05 | general: Add missing copyright notices | ameerj | 1 | -0/+4 | |
2021-09-29 | Fixed invalid iterator usage | Andrew Strelsky | 1 | -1/+1 | |
2021-07-27 | host_memory: Add workaround for FreeBSD 12 | Jan Beich | 1 | -0/+5 | |
src/common/host_memory.cpp:360:14: error: use of undeclared identifier 'memfd_create' fd = memfd_create("HostMemory", 0); ^ | |||||
2021-07-27 | host_memory: Enable Linux implementation on FreeBSD | Jan Beich | 1 | -2/+2 | |
HW.Memory <Critical> common/host_memory.cpp:HostMemory:492: Fastmem unavailable, falling back to VirtualBuffer for memory allocation | |||||
2021-06-19 | host_memory: Correct MEM_RESERVE_PLACEHOLDER | lat9nq | 1 | -1/+1 | |
Microsoft defines `MEM_RESERVE_PLACEHOLDER` as `0x00040000`, but our manually imported version of it drops the last zero. | |||||
2021-06-11 | common/host_memory: Implement a fallback if fastmem fails. | Markus Wick | 1 | -14/+45 | |
This falls back to the old approach of using a virtual buffer. Windows is untested, but this build should fix support for Windows < 10 v1803. However without fastmem support at all. | |||||
2021-06-11 | common/host_shader: Load Windows 10 functions dynamically | ReinUsesLisp | 1 | -29/+88 | |
Workaround old headers and libraries shipped on MinGW. | |||||
2021-06-11 | host_memory: Support staged VirtualProtect calls | ReinUsesLisp | 1 | -3/+12 | |
2021-06-11 | common/host_memory: Optimize for huge tables. | Markus Wick | 1 | -10/+19 | |
In theory, if we have 2 MB continously mapped, this should save one layer of TLB. Let's make it at least more likely by aligning the memory. | |||||
2021-06-11 | common/host_memory: Add Linux implementation | Markus Wick | 1 | -10/+120 | |
2021-06-11 | common/host_memory: Add interface and Windows implementation | ReinUsesLisp | 1 | -0/+320 | |