Skip to contentSkip to conversation

A seemingly plausible userspace command submission model.

DISCUSSION Maarten Maathuis 1 participant 1 message Mar 21, 2009

lore
Share & tools
lore
#0 lore raw

Please tell me what can't work about this idea.

- Introduce concept of "batches", through some kind of marker (tied to fences).
- Request buffers up front, userspace does all relocation (avoid teaching the kernel about tiling, etc).
- Driver stores state for each batch.
- FIRE_RING becomes an ioctl that can fail (imagine backgrounded app holding pinned memory for too long).
==> This means no direct access to put and get.
- Memory is pinned for the duration of the batch.

It's a rough outline, but i'd like to know what exactly is forcing is to use kernel submission.

Maarten.