Files
reims-vgpu/docs
Anees Iqbal d4a4c4beb3 🆕 Place each Shared pool heap at the GPU address the host gives it
Where the device and the kext both took POOL_ADDRESSES, the bundle asks
PoolTake for its fourth output and makes the block's HEAP_OVER_POOL at that
address, picking none of the context's: on metal2vulkan-rt's device the
address is the block's Vulkan device address, which the guest cannot pick.
The heap's destroy gives no address of the process's back (ownsAddress), so
a host address that meets one of the process's picks never frees the pick.
The pool takes' log line counts the heaps placed at the host's addresses.

What moves for the guest: every Shared pool slab's heap, and so each
buffer placed in it (gpuAddress, contents' GPU address), moves from the
context's range [2^46, 2^47) to the host's address: [2^45, 2^46) on the
Vulkan platform, the block's device address on rt. A buffer's address is
still its heap's plus its offset; Managed buffers' own addresses, Private
buffers and the region's slabs are the process's picks as before.
test_pool_slab_source_at_host_addresses holds the new placement; the
existing pool slab test holds the old one for a kext without the bit.
2026-11-19 01:38:52 -08:00
..