mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-03 12:57:27 +00:00
A sparse import binds whole 64 KiB blocks, so a range whose memfd offset is not a multiple of 64 KiB fell back to one UDMABUF_CREATE and, above udmabuf's size limit, to copies. The sparse buffer now starts at the block below the range: HostImport::lead holds that distance, the import's device address points at the range itself, and every offset into the import's buffer goes through HostImportOffset.