Files
metal2vulkan/docs
Anees Iqbal 3c88a7df60 An address pool goes on past its device's recovery
What: `AddressPool` holds a root handle of its device (`Device::root`) and the device's
address space, instead of a handle of the generation it was reserved on. A buffer placed in
one of its slots after a recovery passes the same-device check (`Device::same` answers a root
and any generation of its line alike), and the pool's drop gives its span back to the address
space, which every generation shares, without reaching a generation.

Why: a consumer found that after a recovery every new buffer in a slot of a pool reserved
before it was refused (`MadeBeforeRecovery`), which refused all of its buffers under 16 KiB.
A pool holds no Vulkan object and no memory: it is a span of the line's address space
(`AddressSpace::reserve_pool`), and a buffer in a slot takes its own memory as any buffer
does, only its Metal address from the slot. Holding a generation handle also kept the lost
`VkDevice` alive while the pool lived.

Docs: the recovery lists in `MadeBeforeRecovery`, the device-recovered cost (degradation.rs
and docs/API.md), the runtime README and device/carry.rs name address pools; the pool's own
docs say it goes on. docs/REFUSALS.md regenerated with no change.

Verified: the lane run of the test commit before and this one after is reported with its sha.
2026-11-12 15:33:06 -08:00
..