Files
metal2vulkan/docs
Anees Iqbal 15923d88c0 Docs: a recovery carries no-copy buffers and uses of guest RAM
The DeviceRecovered cost text (and docs/API.md's catalogue entry, which states
it), the runtime README's recovery section, new_buffer_with_bytes_no_copy, and
the contracts of the import gate, the run resolver and the dma-buf source now
say the following. A recovery carries a device's uses of guest RAM and its
no-copy buffers. Each buffer is made again over the same pages. The caller's
callbacks are asked again on the thread that recovers, before the new device
serves, so they must make no call on the device. The deallocator runs at the
buffer's release once no VkDevice's import of its pages is left (the
keep-alive's contract says the same). Detached no-copy buffers and a no-copy
heap's buffers stay refused. HostRamUse's doc says the use goes on.

(cherry picked from commit 58ba0931b857a9dcf9a6124138c81fc31a259552)
2026-11-09 06:01:13 -08:00
..