sharpemu/tests/SharpEmu.Libs.Tests/Kernel
kuba 3fe148a262 [Kernel] Place mappings in untouched address space without waiting for the GPU worker
Every mapping change queued behind the GPU worker so it could not race a pending GPU read.
During loading that worker is busy translating shaders, and Demon's Souls' reservations and
batch maps waited seconds for a queue slot (23.6 s over 132 calls, up to 7.1 s each) while
the change itself took about a millisecond.

A change that only places memory where the GPU was never given anything - a kernel-chosen
address, or a fixed range that is empty or reserved and overlaps no registered span - cannot
race a GPU read and has nothing to unregister, so it now runs on the calling thread. Those
paths also skip the unregister request for free and reserved ranges, which are never
registered; waiting on the worker while holding the mapping lock that GPU reads take would
deadlock, so reaching a registered span there throws instead.
2026-09-30 10:06:24 +02:00
..
DirectMemoryAllocationMapTests.cs Amd fix opcode nid filecache wave32 (#903) 2026-09-24 15:00:42 +03:00
FlexibleBackingPoolTests.cs Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
KernelAioWaitTests.cs Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
KernelBackedMemoryTests.cs [Kernel] Place mappings in untouched address space without waiting for the GPU worker 2026-09-30 10:06:24 +02:00
KernelEventQueueCompatExportsTests.cs Kernel: correct equeue event delivery and waiter lifetime (#723) 2026-07-31 12:13:15 +03:00
KernelEventQueueWaiterLifetimeTests.cs Kernel: correct equeue event delivery and waiter lifetime (#723) 2026-07-31 12:13:15 +03:00
KernelGameLogPathTests.cs Sdl backend (#670) 2026-07-28 03:33:26 +03:00
KernelMappingRangeTests.cs Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
KernelMemoryCompatExportsTests.cs Alpha rebuild part2 (#893) 2026-09-21 00:29:16 +03:00
KernelOperationModeTests.cs Fix for DS,Little Nightmares, Little Nightmares III and Astro Bot shader (#913) 2026-09-27 20:43:07 +03:00
KernelPathCaseSensitivityTests.cs [Kernel] Match path cache comparisons to host filesystem case sensitivity (#381) 2026-07-18 13:36:01 +03:00
KernelPosixSocketOptionTests.cs Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
KernelReadEventTests.cs Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
KernelRuntimeCompatExportsTests.cs Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
KernelSandboxEscapeTests.cs Kernel FS: close guest→host sandbox escapes in the path resolver (#478) 2026-07-21 00:58:34 +03:00
KernelSocketCompatExportsTests.cs Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
KernelSocketConnectionTests.cs Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
KernelSyncOnAddressCompatExportsTests.cs Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
KernelWriteThrottlingTests.cs Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
MutexHandoffProfileTests.cs Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
SemaphoreSignalProfileTests.cs Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00