Files
reims-vgpu/docs
Anees Iqbal ccb9ea0e1f 🐛 Hold three times WindowServer's measured blocks in its reserve
WindowServer's reserve kept the last 1024 of the block table's 16384 entries
for it, sized at three times the 366 blocks it held as five apps opened. With
some 70 processes open it held 1358 blocks, so once the other processes held
every entry outside the reserve, WindowServer was refused past its 1024th.

The reserve now keeps 4096 entries, three times the 1358, and the table's
sizes live in RgfxBlockTable.hpp, where the native test fills the kext's own
table with another process's blocks and checks WindowServer still gets them.
Its bytes stay at 160 MiB: most of the 169.7 MiB it held then were its no-copy
buffers' copies and its Managed textures' CPU copies, which lie in its own
pages now, as its Managed buffers' do.

For the guest: a process other than WindowServer is refused a block once the
table holds 12288 entries, where it was at 15360.
2026-11-05 21:59:33 -08:00
..