Files
reims-vgpu/docs
Anees Iqbal 8a738391d7 🐎 Ring ring 0's doorbell out of its submit lock
The framebuffer wrote ring 0's doorbell inside submitLock, a spin lock, so
every other CPU's post to the control ring waited out the write's exit to
the host. It now publishes and reads whether the host's consumer sleeps
under the lock (rgfxControlPublishWantsBell), and writes DOORBELL once it
has let the lock go, in tryPost and in a batch's post. The order of the
ring's messages is the producer's, which the lock still keeps; the
doorbell is only a wake, and two posts that both find the consumer asleep
ring it twice, as they could before. The guest and the host see the same
messages, doorbells and order.
2026-11-14 18:01:06 -08:00
..