AnyPS5/core/libs/prx/libc/include
Mouad-Scriptz-0 df3d027ebe perf(libkernel): find guest allocations and direct mappings by address
sceKernelVirtualQuery, sceKernelMunmap, sceKernelReleaseDirectMemory and the
reservation paths walked a copy of the whole allocation registry or of every
direct mapping under one lock on each call. The registry now answers lookups
from its ordered map, applies range replacements as patches instead of
rebuilding the map, and direct mappings carry an index by physical offset so a
release finds only the mappings it covers. Minecraft (PPSA17221) holds about
7,000 direct mappings and spent its world generation in these walks.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-13 23:11:32 +13:00
..
exceptions fix(libc): hand out the unwind cursor table through a _nid_no_patch export 2026-10-13 21:09:26 +13:00
general fix(libc): write each log line in one call 2026-10-11 13:23:21 -04:00
specifics refactor(libc): define the PROCMAP_QUERY permission flags in HostMapping 2026-10-11 07:44:34 -03:00
ApplicationHeap.hpp feat(libc): implement malloc_usable_size 2026-10-11 04:41:39 +02:00
CpuTopology.hpp perf(agc): pin the queue workers to the performance cores on Linux 2026-10-05 21:23:34 +13:00
CreationMask.hpp fix(libkernel): preserve patched loading and shared-memory object identity 2026-10-11 23:40:46 +02:00
FileLock.hpp fix(libs): share Windows flock state between duplicated descriptors 2026-10-12 16:03:47 +02:00
FileStream.hpp Merge pull request #4640 from MarcZX100/codex/win-host-standard-handles-4631 2026-10-13 17:49:02 +13:00
FilesystemError.hpp fix(filesystem): reject invalid parent traversal on Windows 2026-10-12 01:25:02 +05:30
General.hpp fix(libkernel_sys): reach rename through a _nid_no_patch export 2026-10-13 10:48:14 +02:00
GuestAllocations.hpp perf(libkernel): find guest allocations and direct mappings by address 2026-10-13 23:11:32 +13:00
GuestArena.hpp fix(agc): defer write tracking for fresh Windows shared imports 2026-10-13 10:37:27 +05:30
GuestDirectory.hpp feat(libSceLibcInternal): implement fdopendir 2026-10-12 16:23:42 -03:00
GuestHeap.hpp Merge pull request #3213 from Raghav314/fix/libc-heap-without-gpu 2026-10-11 09:14:14 +02:00
GuestLocale.hpp feat(libc): implement collate<char>::_Getcat 2026-10-06 14:53:47 +02:00
GuestStacks.hpp feat(libkernel): implement getcontext, setcontext and makecontext 2026-10-11 13:00:38 +03:00
GuestTime.hpp fix(libc): convert times into the guest's 56-byte tm on Windows 2026-10-10 02:13:17 +02:00
GuestWriteWatch.hpp fix(agc): host imports write-protect only pages a collect already protects 2026-10-10 11:38:28 +05:30
HeapDiagnostics.hpp feat(libc): implement heap trace info 2026-09-27 11:43:36 +03:00
HostEntropy.hpp fix(libs): take guest entropy from the host OS instead of std::random_device 2026-10-11 22:07:49 -03:00
HostThreadLocal.hpp fix(agc): preserve recorder buffers through Windows thread teardown 2026-09-28 09:55:01 +10:00
PreciseWait.hpp fix(libs): keep thread_local objects with destructors out of module teardown on Windows (#4029) 2026-10-12 18:25:29 +13:00
Shutdown.hpp fix(libc): end the process without detach routines in _Exit on Windows 2026-10-10 21:20:29 +13:00
SonyCrt.hpp feat(libc): implement __umodti3 2026-10-12 12:26:15 +00:00
WindowsFormatting.hpp fix(libc): print the guest errno message for %m in the printf family 2026-10-12 03:12:27 +00:00
WindowsMappings.hpp fix(libc): alias non-contiguous shared guest views on Windows 2026-10-13 07:31:17 +00:00
WindowsScanning.hpp fix(libc): return 0 from scanf when input fails after a suppressed conversion on Windows 2026-10-11 12:12:48 +02:00