The device answers most lifecycle messages the kext waits for within tens of
microseconds of the post (a heap texture's size, a library's lookup, a
surface's pages: 60 to 110 us on the RTX 3090 host), and the answer then waited
for the interrupt, the work loop's wake and the waiter's, about 25 us more
(measured in a Vision request). postLifecycle now looks for its answer for at
most 150 us before it sleeps (RgfxAnswerLook.hpp): where the control
completion ring holds a record the work loop has not taken, it takes the ring
in the work loop's gate, as the work loop does, and else pauses the CPU. It
never waits for the gate (an IOCommandGate's attemptAction): the event hooks its
holder runs take the release table's lock and the pipe clients', which a
waiter's caller may hold, and only the sleep's deadline bounds that wait, as
before. The rest of the work loop's service follows at the interrupt the record
raised. Only a thread whose call waits for an answer looks, and only that long.
No answer or order changes. Tested by answer_look_test.
Measured, Vision cold request, RTX 3090 host (rts4, the branch without this
commit, against the branch with it; host load 3.0 and 5.4), first process /
second: a heap texture's size and alignment, 60 calls, 36.3/36.6 -> 26.2/25.3
us a call (its answer's leg after the post 12.7 -> 2.4 us); a library lookup
78.8/87.0 -> 52.0/53.1 us; a surface block's ask (its SURFACE_PAGES), 123
asks, 232/215 -> 173/178 us, 32.0/27.5 -> 25.3/24.1 ms. A pipeline create
whose compile outlasts the look is answered as before.