What: runtime_lane::dropped_uncommitted. A pass of two draws of the owned ob3_index_buffer
fixture (a vertex function, rasterization disabled, that marks seen[min(vertex_id, 7)]) writes a
no-copy buffer over a second mapping of a page of guest RAM (a shared memory object, as
runtime_lane::host_memory maps it; GuestRam is now visible to the lane's modules). The state's
creation predicts a point list, so the line's and the triangle's draws each hand their own
pipeline's making to the device's pool: the test asserts both went to the pool
(pipelines_pooled +2, from an idle pool) and that the pool was still busy as the encoding ended,
so the pass was left pending (Deferred::RenderPass, making()). The command buffer is dropped
uncommitted, the buffer let go of, and the page unmapped in place at once (replaced by a
PROT_NONE mapping, so a CPU access faults). After the makings finish (pipelines_settled), a
command buffer committed on the same queue draws with the pipelines now made through a no-copy
buffer over the next page, and completes without error. The dropped page keeps every byte, the
next page holds exactly the eight marks, a third page is untouched, and the validation layer
reports nothing (host_memory::on_device).
Why: the consumer now relies on this contract to unmap a guest task's pages as soon as its
objects go: an uncommitted command buffer's deferred work, a pipeline-pending draw among it,
never reaches the scheduler, which takes committed batches only and hands a host step over only
for a committed line's head (gate_heads).
Verified on the M3 Max (MoltenVK, --cfg m2v_gpu, debug, under maclock and memcap): the case
passed 8 of 8 runs, the pending assertion included; the host_memory lane (25 cases) passed beside
it, 3 of 3. Negative control: committing the command buffer before its drop (the deferred work
reaching the scheduler) fails the case, "the dropped command buffer's draws reached the guest
page": on this GPU a write through the no-copy buffer lands in the shared object's page even
after the CPU's view of it is unmapped, which is what the guest RAM check reads. Restored and
touched. A hook that hands an uncommitted buffer's step over from inside the runtime is not
practical for this lane: validation reaches the runtime only through its public API, so it would
be a hidden public entry point in a published crate for one test. clippy --workspace
--all-targets --all-features -D warnings, plain and with --cfg m2v_gpu: clean.
(cherry picked from commit a35b1b6a2ecbb449b6562bb2678f2d62e2997ce9)
(cherry picked from commit 3f7ac2c41f47f76219c4407f530532a60cc5cea8)