The IOSurface view cache kept every view it made, up to 32 views and 1 GiB.
A video session's outputs are views no block holds once the session ends, and
none was taken again. On the 5080 host at vm.max_map_count 65,530, 1080p H.264,
4K HEVC and 1080p H.264 again made 31 views and took none from the cache. The
process's mappings only grew, from 3,220 to 43,949, past the budget's headroom.
There the runtime copied buffers instead of importing them, and CUDA refused
the dma-buf views, so the last pass ran at 69.8 fps against the first's 1072.
As a view is cached, the oldest views only the cache holds now go until the
rest keep no more mappings, one a run, than the platform answers
(HostVm::idle_view_mappings). Linux answers the budget's headroom; Mach answers
none, and the cache keeps them as before. A view its block holds stays. The
periodic line counts the views let go of so.
The NVIDIA arm's refused registration now names the range CUDA refused.