mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-23 09:03:22 -05:00
On Linux a shared-backed guest range is imported through one udmabuf covering the whole range, and udmabuf refuses buffers above its size_limit_mb (64 MiB by default). Larger ranges fell back to copies; an address-based dispatch then synced its whole mirror, storing back every pending storage image inside it each time. Such a range is now one sparse buffer bound to the existing 64 MiB chunk imports. The bind runs on a sparse binding queue of its own when the device has one, so imports made at map time (without the GPU mutex) can use it; otherwise only under the GPU mutex on the main queue. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>