diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-09-28 11:13:47 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-09-28 11:13:47 -0400 |
| commit | 5577b3d671ad915f382230e9af82d72f265b7c34 (patch) | |
| tree | d45ad9dbe4773111870e02f1425aba6f527eceb7 /tools | |
| parent | 896a265d26fe5092752895e7e4c9b78bcb43314d (diff) | |
| download | open-iov-5577b3d671ad915f382230e9af82d72f265b7c34.tar.gz open-iov-5577b3d671ad915f382230e9af82d72f265b7c34.zip | |
sema: clamp the pin-rewind at ring start - never wrap below zero
The rewind used entries - (N - get) for get < N, which for an empty ring
(get=0, put=0) jumped last_get to entries-8, so the pump read ring slots the
producer had never reached and could execute stale/garbage entries. Replay
only recently consumed slots, clamped at 0.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
