yuzu/src/common
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
..
fs general: fix compile for Apple Clang 2022-11-22 22:22:28 -05:00
logging bounded_threadsafe_queue: Deduplicate and add PushModes 2023-03-21 19:20:21 -04:00
windows timer_resolution: Set current process to High QoS 2023-03-05 02:36:31 -05:00
x64 x64: Simplify RDTSC on non-MSVC compilers 2023-03-27 17:45:22 -04:00
address_space.cpp general: Format licenses as per SPDX guidelines 2022-10-06 21:00:54 +02:00
address_space.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
address_space.inc Fix address space allocator slow path to avoid OOB 2023-05-07 15:11:16 +01:00
algorithm.h General: Fix compilation for GCC 2022-10-06 21:00:53 +02:00
alignment.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
announce_multiplayer_room.h general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
assert.cpp common/assert: rework ASSERT handling to avoid std::function usage 2022-06-13 20:09:32 -04:00
assert.h Enable compiler optimizations and enforce x86-64-v2 on GCC/Clang (#9442) 2022-12-17 17:16:52 -08:00
atomic_helpers.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
atomic_ops.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
bit_cast.h common: make BitCast constexpr 2023-03-07 20:26:56 -05:00
bit_field.h externals: Update to fmt 10 and add format_as formatter for BitField 2023-05-28 15:05:55 -04:00
bit_set.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
bit_util.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
bounded_threadsafe_queue.h bounded_threadsafe_queue: Refactor Pop 2023-03-21 22:33:58 -04:00
cityhash.cpp chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
cityhash.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
CMakeLists.txt x64: Add MicroSleep 2023-03-27 17:45:22 -04:00
common_funcs.h Initial ARM64 support 2022-11-09 16:58:49 -05:00
common_precompiled_headers.h CMake: Consolidate common PCH headers 2022-11-30 18:30:30 -05:00
common_types.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
concepts.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
container_hash.h container_hash: use climits 2023-03-26 10:24:33 -04:00
demangle.cpp cmake: prefer system llvm library 2023-01-23 06:23:00 +01:00
demangle.h Move demangle impl to cpp 2023-01-14 05:12:41 +00:00
detached_tasks.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
detached_tasks.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
div_ceil.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
dynamic_library.cpp chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
dynamic_library.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
elf.h common: consolidate ELF structure definitions 2022-06-05 09:42:05 -04:00
error.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
error.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
expected.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
fiber.cpp general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
fiber.h common/fiber: make fibers easier to use 2022-07-02 12:33:49 -04:00
fixed_point.h general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
hash.h Refactor VideoCore to use AS sepparate from Channel. 2022-10-06 21:00:52 +02:00
hex_util.cpp chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
hex_util.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
host_memory.cpp host_memory: merge adjacent placeholder mappings on Linux 2023-06-01 22:57:27 +02:00
host_memory.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
input.h input_common: Add property to invert an axis button 2023-05-05 17:18:35 -06:00
intrusive_list.h common: add intrusive list type 2023-04-29 17:46:26 -04:00
intrusive_red_black_tree.h general: fixes for gcc 13 2023-04-02 19:02:04 -04:00
literals.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
lru_cache.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
lz4_compression.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
lz4_compression.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
make_unique_for_overwrite.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
math_util.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
memory_detect.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
memory_detect.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
microprofile.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
microprofile.h code: dodge PAGE_SIZE #define 2022-08-19 16:08:40 -07:00
microprofileui.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
multi_level_page_table.cpp general: Format licenses as per SPDX guidelines 2022-10-06 21:00:54 +02:00
multi_level_page_table.h General: address feedback 2022-10-06 21:00:54 +02:00
multi_level_page_table.inc general: Format licenses as per SPDX guidelines 2022-10-06 21:00:54 +02:00
nvidia_flags.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
nvidia_flags.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
overflow.h kernel: avoid signed overflow UB on MSVC 2023-03-07 19:46:48 -05:00
page_table.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
page_table.h core/debugger: memory breakpoint support 2022-06-16 13:18:07 -04:00
param_package.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
param_package.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
parent_of_member.h Silence std::aligned_storage warnings as it's deprecated in C++23, 2022-09-01 16:50:41 +01:00
point.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
polyfill_ranges.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
polyfill_thread.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
precompiled_headers.h CMake: Consolidate common PCH headers 2022-11-30 18:30:30 -05:00
quaternion.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
range_map.h Fixes 'Continous' typo 2023-03-29 19:26:12 -07:00
reader_writer_queue.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
ring_buffer.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
scm_rev.cpp.in chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
scm_rev.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
scope_exit.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
scratch_buffer.h Allow Fermi blit accelerate to add src/dst to the cache if they don't exist already. Use ScratchBuffers in the software blit path. 2023-05-11 06:42:38 +01:00
settings.cpp textures: add BC1 and BC3 compressors and recompression setting 2023-05-23 12:54:40 -04:00
settings.h textures: add BC1 and BC3 compressors and recompression setting 2023-05-23 12:54:40 -04:00
settings_input.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
settings_input.h Configuration: Add per-game input profiles 2022-11-20 14:06:31 -05:00
socket_types.h Make copyright headers SPDX-compliant 2022-08-15 20:25:42 +02:00
spin_lock.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
spin_lock.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
steady_clock.cpp steady_clock: Introduce a real time clock 2023-03-07 21:17:46 -05:00
steady_clock.h steady_clock: Introduce a real time clock 2023-03-07 21:17:46 -05:00
stream.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
stream.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
string_util.cpp common: string_util: Use std::string_view for UTF16ToUTF8/UTF8ToUTF16W. 2023-03-18 22:42:25 -07:00
string_util.h common: string_util: Use std::string_view for UTF16ToUTF8/UTF8ToUTF16W. 2023-03-18 22:42:25 -07:00
swap.h general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
telemetry.cpp telemetry: Add waitpkg instruction 2023-03-27 17:45:22 -04:00
telemetry.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
thread.cpp Core: Fix tests. 2022-06-28 01:10:55 +02:00
thread.h general: improve handling of system startup failure 2022-12-06 16:13:42 -05:00
thread_queue_list.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
thread_worker.h general: fix compile for Apple Clang 2022-11-22 22:22:28 -05:00
threadsafe_queue.h general: fix compile for Apple Clang 2022-11-22 22:22:28 -05:00
time_zone.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
time_zone.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
tiny_mt.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
tree.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
typed_address.h general: fixes for gcc 13 2023-04-02 19:02:04 -04:00
uint128.h common: remove unneeded x86-specific header 2022-08-16 15:19:57 -06:00
unique_function.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
uuid.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
uuid.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
vector_math.h input_common: Add property to invert an axis button 2023-05-05 17:18:35 -06:00
virtual_buffer.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
virtual_buffer.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
wall_clock.cpp core_timing: Use higher precision sleeps on Windows 2023-03-05 02:36:31 -05:00
wall_clock.h core_timing: Use higher precision sleeps on Windows 2023-03-05 02:36:31 -05:00
zstd_compression.cpp zstd: Use ZSTD_getFrameContentSize instead of ZSTD_getDecompressedSize 2023-03-23 22:16:20 -04:00
zstd_compression.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00